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


##########
endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/KeyPath.java:
##########
@@ -265,7 +280,7 @@ final class KeyPath implements Path {
                     throw emptyPath(first, 0);
                 }
                 isDirectory = path.endsWith(fs.separator);
-                key = isDirectory ? path.substring(0, end) : path;
+                this.key = isDirectory ? path.substring(0, end) : path;

Review Comment:
   The addition of `this.` does not seem necessary, and is a bit of departure 
compared to `isDirectory` just before.



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