This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit ae7935796a181908432a1ffb3023215141af2748 Author: Gary Gregory <[email protected]> AuthorDate: Sat Aug 10 09:27:31 2024 -0400 Whitespace --- .../main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java index a632d84d..9a3a7edb 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/cache/FileSystemAndNameKey.java @@ -26,6 +26,7 @@ import org.apache.commons.vfs2.FileSystem; * </p> */ final class FileSystemAndNameKey implements Comparable<FileSystemAndNameKey> { + /** The FileSystem */ private final FileSystem fileSystem; @@ -38,7 +39,6 @@ final class FileSystemAndNameKey implements Comparable<FileSystemAndNameKey> { FileSystemAndNameKey(final FileSystem fileSystem, final FileName fileName) { this.fileSystem = fileSystem; this.fileSystemId = System.identityHashCode(fileSystem); - this.fileName = fileName; } @@ -50,7 +50,6 @@ final class FileSystemAndNameKey implements Comparable<FileSystemAndNameKey> { if (fileSystemId > other.fileSystemId) { return 1; } - return fileName.compareTo(other.fileName); }
