He-Pin commented on code in PR #2375:
URL: https://github.com/apache/pekko/pull/2375#discussion_r2462978645
##########
stream-tests/src/test/java/org/apache/pekko/stream/javadsl/FlowTest.java:
##########
@@ -135,6 +135,28 @@ public void mustBeAbleToUseDoOnFirst() throws Exception {
Assert.assertEquals(1, invoked.get());
}
+ @Test
+ public void mustBeAbleToUseDoOnCancel() throws Exception {
+ final var invoked = new AtomicInteger(0);
Review Comment:
Noop, I will do that when backporting, but I want to use var on main
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]