CH-Abhinav opened a new pull request, #40560: URL: https://github.com/apache/beam/pull/40560
### Issue Fixes #40557 ### Description Modernizes the `LogOutput` `DoFn` in `BatchElementsExample.java` to use parameter injection (`@Element` and `OutputReceiver`) instead of the legacy `ProcessContext`. ### Changes * Replaced `ProcessContext c` parameter with `@Element List<String> batch` and `OutputReceiver<String> receiver`. * Verified with `./gradlew :examples:java:compileJava` and `./gradlew :examples:java:spotlessApply`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
