Reduce warnings reported by Eclipse

Closes gh-43269
This commit is contained in:
Andy Wilkinson
2024-11-22 14:42:48 +00:00
parent cf1dadf2e7
commit bb3651b7d1
17 changed files with 148 additions and 117 deletions

View File

@@ -84,6 +84,7 @@ public class NestedFileSystemProvider extends FileSystemProvider {
}
@Override
@SuppressWarnings("resource")
public Path getPath(URI uri) {
NestedLocation location = NestedLocation.fromUri(uri);
synchronized (this.fileSystems) {