lukecwik commented on a change in pull request #11165: [BEAM-9340] Populate 
requirements for Java.
URL: https://github.com/apache/beam/pull/11165#discussion_r395310152
 
 

 ##########
 File path: 
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/SdkComponents.java
 ##########
 @@ -86,25 +91,30 @@ public static SdkComponents create(RunnerApi.Components 
components) {
   }
 
   public static SdkComponents create(PipelineOptions options) {
-    SdkComponents sdkComponents = new 
SdkComponents(RunnerApi.Components.getDefaultInstance(), "");
+    SdkComponents sdkComponents =
+        new SdkComponents(RunnerApi.Components.getDefaultInstance(), null, "");
     PortablePipelineOptions portablePipelineOptions = 
options.as(PortablePipelineOptions.class);
     sdkComponents.registerEnvironment(
         Environments.createOrGetDefaultEnvironment(portablePipelineOptions));
     return sdkComponents;
   }
 
-  private SdkComponents(RunnerApi.Components components, String newIdPrefix) {
+  private SdkComponents(
+      Components components, Collection<String> requirements, String 
newIdPrefix) {
 
 Review comment:
   ```suggestion
         Components components, @Nullable Collection<String> requirements, 
String newIdPrefix) {
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to