Skip to content

Commit 5a574f9

Browse files
authored
Add missing Nullable to MemoryFileSystemProvider
Signed-off-by: ascopes <73482956+ascopes@users.noreply.github.com>
1 parent 889c535 commit 5a574f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/MemoryFileSystemProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import java.nio.file.FileSystem;
2626
import org.apiguardian.api.API;
2727
import org.apiguardian.api.API.Status;
28+
import org.jspecify.annotations.Nullable;
2829

2930
/**
3031
* RAM file system provider that uses {@code memoryfilesystem} as the underlying file system
@@ -89,6 +90,7 @@ public MemoryFileSystemUrlHandlerProvider() {
8990
factory = new MemoryURLStreamHandlerFactory();
9091
}
9192

93+
@Nullable
9294
@Override
9395
public URLStreamHandler createURLStreamHandler(String protocol) {
9496
// This check can be removed once https://github.com/marschall/memoryfilesystem/pull/144 is

0 commit comments

Comments
 (0)