You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ie...@apache.org on 2019/02/08 22:59:20 UTC
[beam] branch master updated: Revert "[BEAM-5987] Remove @Nullable
annotation from SideInputReader.get()"
This is an automated email from the ASF dual-hosted git repository.
iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 7bc0a8c Revert "[BEAM-5987] Remove @Nullable annotation from SideInputReader.get()"
7bc0a8c is described below
commit 7bc0a8c68dc9d429c9ea3a5244ef23b0772c2658
Author: Ismaël Mejía <ie...@gmail.com>
AuthorDate: Fri Feb 8 23:58:46 2019 +0100
Revert "[BEAM-5987] Remove @Nullable annotation from SideInputReader.get()"
This reverts commit 72627eb9f0b556574c23ceea06b3547d96c4107d.
---
.../src/main/java/org/apache/beam/runners/core/SideInputReader.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/runners/core-java/src/main/java/org/apache/beam/runners/core/SideInputReader.java b/runners/core-java/src/main/java/org/apache/beam/runners/core/SideInputReader.java
index efc5cc4..7210add 100644
--- a/runners/core-java/src/main/java/org/apache/beam/runners/core/SideInputReader.java
+++ b/runners/core-java/src/main/java/org/apache/beam/runners/core/SideInputReader.java
@@ -17,6 +17,7 @@
*/
package org.apache.beam.runners.core;
+import javax.annotation.Nullable;
import org.apache.beam.sdk.transforms.windowing.BoundedWindow;
import org.apache.beam.sdk.values.PCollectionView;
@@ -31,6 +32,7 @@ public interface SideInputReader {
* <p>It is valid for a side input to be {@code null}. It is <i>not</i> valid for this to return
* {@code null} for any other reason.
*/
+ @Nullable
<T> T get(PCollectionView<T> view, BoundedWindow window);
/** Returns true if the given {@link PCollectionView} is valid for this reader. */