kennknowles commented on code in PR #26352:
URL: https://github.com/apache/beam/pull/26352#discussion_r1171724685
##########
sdks/java/core/src/main/java/org/apache/beam/sdk/io/Read.java:
##########
@@ -442,6 +443,19 @@ public void checkDone() throws IllegalStateException {
public IsBounded isBounded() {
return IsBounded.BOUNDED;
}
+
+ @Override
+ public Progress getProgress() {
+ if (currentReader == null) {
+ return null;
Review Comment:
Noting that the return value is not `@Nullable`. Suggest re-enabling
nullness checking here since it would have caught this. (you could perhaps
suppress it for other parts of the file you don't want to fix.
--
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]