adoroszlai commented on code in PR #8218:
URL: https://github.com/apache/ozone/pull/8218#discussion_r2031540903


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/freon/TestHadoopNestedDirGenerator.java:
##########
@@ -145,10 +145,7 @@ private Path depthBFS(FileSystem fs, FileStatus[] 
fileStatuses,
 
   private int spanCheck(FileSystem fs, int span, Path p) throws IOException {
     int sp = 0;
-    int depth = 0;
-    if (span >= 0) {
-      depth = 0;
-    } else {
+    if (span <= 0) {
       LOG.info("Span value can never be negative");
     }

Review Comment:
   I think this log is unnecessary, the same message is already logged in 
`depthBFS`.



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

Reply via email to