adoroszlai commented on code in PR #9824:
URL: https://github.com/apache/ozone/pull/9824#discussion_r2853689314
##########
hadoop-hdds/test-utils/src/main/java/org/apache/ozone/test/JacocoServer.java:
##########
@@ -68,8 +75,10 @@ public static void main(String[] args) throws IOException {
synchronizedCall(destination::visitSessionInfo));
reader.setExecutionDataVisitor(
synchronizedCall(destination::visitClassExecution));
- while (reader.read()) {
- ;//read until the end of the stream.
+ while (true) {
Review Comment:
Yes, why would it be different? The purpose of this part of the change is
to avoid the need for:
https://github.com/apache/ozone/blob/4779f60d879abed8657fd303157c19bb3dcbf2b4/hadoop-hdds/test-utils/src/main/java/org/apache/ozone/test/JacocoServer.java#L45
--
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]