KontainPluton commented on code in PR #40:
URL: https://github.com/apache/sis/pull/40#discussion_r2803529166


##########
endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/KeyPath.java:
##########
@@ -324,6 +335,16 @@ final class KeyPath implements Path {
         key = null;
     }
 
+    /**
+     * Reformat path, replacing "./" by "/"

Review Comment:
   `reformatPath` removed. User will user `URI.normalize()` if he wants (as 
`Path.normalize()` will do nothing if the path is already a `KeyPath` from S3)



##########
endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/KeyPath.java:
##########
@@ -324,6 +335,16 @@ final class KeyPath implements Path {
         key = null;
     }
 
+    /**
+     * Reformat path, replacing "./" by "/"
+     */
+    private static String reformatPath(String path) {
+        if(path != null) {
+            path = path.replace("./","/");

Review Comment:
   `reformatPath` 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]

Reply via email to