aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/anarres/cpp/VirtualFileSystem.java
diff options
context:
space:
mode:
authorShevek <[email protected]>2013-12-28 03:47:56 -0800
committerShevek <[email protected]>2013-12-28 03:47:56 -0800
commitc6569cd5635d97da75faa8ce6b4772223ff6201c (patch)
tree57b50298d196d26f44d3a81e9b0d94bfe2f936bc /src/main/java/org/anarres/cpp/VirtualFileSystem.java
parentc18a23ec3d2a6ba1f9aa0890b96c7fd13eb15864 (diff)
Lots of findbugs markers.
Diffstat (limited to 'src/main/java/org/anarres/cpp/VirtualFileSystem.java')
-rw-r--r--src/main/java/org/anarres/cpp/VirtualFileSystem.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/org/anarres/cpp/VirtualFileSystem.java b/src/main/java/org/anarres/cpp/VirtualFileSystem.java
index 56e53ac..9c77d30 100644
--- a/src/main/java/org/anarres/cpp/VirtualFileSystem.java
+++ b/src/main/java/org/anarres/cpp/VirtualFileSystem.java
@@ -16,12 +16,16 @@
*/
package org.anarres.cpp;
+import javax.annotation.Nonnull;
+
/**
* An extremely lightweight virtual file system interface.
*/
public interface VirtualFileSystem {
- public VirtualFile getFile(String path);
+ @Nonnull
+ public VirtualFile getFile(@Nonnull String path);
- public VirtualFile getFile(String dir, String name);
+ @Nonnull
+ public VirtualFile getFile(@Nonnull String dir, @Nonnull String name);
}