scwhittle commented on code in PR #37947:
URL: https://github.com/apache/beam/pull/37947#discussion_r2993298256


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/fn/data/BeamFnDataOutboundAggregator.java:
##########
@@ -360,8 +361,8 @@ public long getElementCount() {
       return perBundleElementCount;
     }
 
-    public int bufferedSize() {
-      return output.size();
+    public boolean hasBufferedOutput() {
+      return output.isEmpty();

Review Comment:
   doh, thanks



-- 
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]

Reply via email to