errose28 commented on code in PR #5124:
URL: https://github.com/apache/ozone/pull/5124#discussion_r1309342589


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java:
##########
@@ -322,6 +326,16 @@ public Response put(
     }
   }
 
+  private static boolean hasTrailingSlash(String keyPath) {
+    return keyPath.charAt(keyPath.length() - 1) == '/';
+  }
+
+  private void createDirectory(String volumeName,
+      String bucketName, String keyPath) throws IOException {
+    getClientProtocol()
+        .createDirectory(volumeName, bucketName, keyPath);
+  }

Review Comment:
   In the current change set this helper method is only called once. I think it 
can be removed.



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