beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [28/51] [abbrv] incubator-beam git commit: Deprecate OldDoFn
Date Sat, 06 Aug 2016 02:52:46 GMT
Deprecate OldDoFn


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/fb6d2c2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/fb6d2c2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/fb6d2c2e

Branch: refs/heads/python-sdk
Commit: fb6d2c2e3b97ca67450ea0ca84bbb40667b48a92
Parents: e73d163
Author: Kenneth Knowles <klk@google.com>
Authored: Thu Aug 4 10:02:22 2016 -0700
Committer: Dan Halperin <dhalperi@google.com>
Committed: Thu Aug 4 11:47:31 2016 -0700

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/fb6d2c2e/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java
index f640442..443599a 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/OldDoFn.java
@@ -72,7 +72,9 @@ import java.util.UUID;
  *
  * @param <InputT> the type of the (main) input elements
  * @param <OutputT> the type of the (main) output elements
+ * @deprecated Uses of {@link OldDoFn} should be replaced by the new {@link DoFn}.
  */
+@Deprecated
 public abstract class OldDoFn<InputT, OutputT> implements Serializable, HasDisplayData
{
 
   /**


Mime
View raw message