beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [11/50] incubator-beam git commit: Display data: minor cleanups
Date Fri, 28 Oct 2016 14:47:45 GMT
Display data: minor cleanups

* wrong @Nullable
* Remove unused function


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

Branch: refs/heads/apex-runner
Commit: d2553500b7ebff4025b2c1588d9b73bab8213490
Parents: 13af296
Author: Dan Halperin <dhalperi@google.com>
Authored: Mon Oct 24 19:39:27 2016 -0700
Committer: Dan Halperin <dhalperi@google.com>
Committed: Tue Oct 25 13:49:55 2016 -0700

----------------------------------------------------------------------
 .../org/apache/beam/sdk/transforms/display/DisplayData.java    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/d2553500/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java
index 8e4cf91..46cf94a 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java
@@ -36,7 +36,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.Objects;
 import java.util.Set;
-import org.apache.avro.reflect.Nullable;
+import javax.annotation.Nullable;
 import org.apache.beam.sdk.transforms.PTransform;
 import org.joda.time.Duration;
 import org.joda.time.Instant;
@@ -147,10 +147,6 @@ public class DisplayData implements Serializable {
     return builder.toString();
   }
 
-  private static String namespaceOf(Class<?> clazz) {
-    return clazz.getName();
-  }
-
   /**
    * Utility to build up display data from a component and its included
    * subcomponents.


Mime
View raw message