You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jk...@apache.org on 2018/06/21 00:19:12 UTC

[beam] 01/03: Make ImmutableExecutableStage constructors public

This is an automated email from the ASF dual-hosted git repository.

jkff pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 72d3c7b5cdf3aa4bb50b38171028dcf0b6efdbd3
Author: Ben Sidhom <si...@google.com>
AuthorDate: Tue Jun 19 14:16:12 2018 -0700

    Make ImmutableExecutableStage constructors public
---
 .../runners/core/construction/graph/ImmutableExecutableStage.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/ImmutableExecutableStage.java b/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/ImmutableExecutableStage.java
index 278e5c6..ee77a87 100644
--- a/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/ImmutableExecutableStage.java
+++ b/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/ImmutableExecutableStage.java
@@ -30,7 +30,7 @@ import org.apache.beam.runners.core.construction.graph.PipelineNode.PTransformNo
 /** An {@link ExecutableStage} which is constructed with all of its initial state. */
 @AutoValue
 public abstract class ImmutableExecutableStage implements ExecutableStage {
-  static ImmutableExecutableStage ofFullComponents(
+  public static ImmutableExecutableStage ofFullComponents(
       Components components,
       Environment environment,
       PCollectionNode input,
@@ -49,7 +49,7 @@ public abstract class ImmutableExecutableStage implements ExecutableStage {
     return of(prunedComponents, environment, input, sideInputs, transforms, outputs);
   }
 
-  static ImmutableExecutableStage of(
+  public static ImmutableExecutableStage of(
       Components components,
       Environment environment,
       PCollectionNode input,