beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [36/50] [abbrv] beam git commit: Rebase and update code to honor findbugs @Nullable/@Nonnull conversion
Date Fri, 17 Nov 2017 20:31:27 GMT
Rebase and update code to honor findbugs @Nullable/@Nonnull conversion


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

Branch: refs/heads/tez-runner
Commit: 12246ad0c6172fa235d96c69466b4876cd649523
Parents: 5e2593d
Author: Luke Cwik <lcwik@google.com>
Authored: Fri Nov 10 11:18:13 2017 -0800
Committer: Luke Cwik <lcwik@google.com>
Committed: Wed Nov 15 08:59:51 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/beam/sdk/transforms/Materializations.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/12246ad0/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Materializations.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Materializations.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Materializations.java
index e606919..0e66c5c 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Materializations.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Materializations.java
@@ -18,6 +18,7 @@
 
 package org.apache.beam.sdk.transforms;
 
+import javax.annotation.Nullable;
 import org.apache.beam.sdk.annotations.Experimental;
 import org.apache.beam.sdk.annotations.Experimental.Kind;
 import org.apache.beam.sdk.annotations.Internal;
@@ -43,7 +44,7 @@ public class Materializations {
    * use the {@link Materializations#MULTIMAP_MATERIALIZATION_URN multimap materialization}.
    */
   public interface MultimapView<K, V> {
-    Iterable<V> get(K k);
+    Iterable<V> get(@Nullable K k);
   }
 
   /**


Mime
View raw message