arunpandianp commented on code in PR #38842:
URL: https://github.com/apache/beam/pull/38842#discussion_r3371924477
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingModeExecutionContext.java:
##########
@@ -810,31 +811,32 @@ public boolean isEmpty() {
class StepContext extends DataflowExecutionContext.DataflowStepContext
implements StreamingModeStepContext {
- private final String stateFamily;
+ private final @Nullable String stateFamily;
private final Supplier<Closeable> scopedReadStateSupplier;
- private WindmillStateInternals<Object> stateInternals;
- private WindmillTimerInternals systemTimerInternals;
- private WindmillTimerInternals userTimerInternals;
+ private @Nullable WindmillStateInternals<Object> stateInternals;
Review Comment:
Marked them as MonotonicNonNull, not sure if there are any checks that can
be removed though.
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingModeExecutionContext.java:
##########
Review Comment:
done.
--
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]