Make NeverTrigger public for translation

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

Branch: refs/heads/master
Commit: 703c84efd9c8219b2a8a205f0b6f1f9a999e927c
Parents: fa9b381
Author: Kenneth Knowles <k...@google.com>
Authored: Thu Oct 13 22:17:26 2016 -0700
Committer: Kenneth Knowles <k...@google.com>
Committed: Mon Oct 17 19:56:36 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/beam/sdk/transforms/windowing/Never.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/703c84ef/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Never.java
----------------------------------------------------------------------
diff --git 
a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Never.java
 
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Never.java
index 353258b..07b70f4 100644
--- 
a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Never.java
+++ 
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/Never.java
@@ -39,8 +39,10 @@ public final class Never {
     return new NeverTrigger();
   }
 
-  // package-private in order to check identity for string formatting.
-  static class NeverTrigger extends OnceTrigger {
+  /**
+   * The actual trigger class for {@link Never} triggers.
+   */
+  public static class NeverTrigger extends OnceTrigger {
     protected NeverTrigger() {
       super(null);
     }

Reply via email to