diff options
-rw-r--r-- | src/java/org/anarres/cpp/ChrootFileSystem.java | 4 | ||||
-rw-r--r-- | src/java/org/anarres/cpp/JavaFileSystem.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/anarres/cpp/ChrootFileSystem.java b/src/java/org/anarres/cpp/ChrootFileSystem.java index fda0463..4fedb71 100644 --- a/src/java/org/anarres/cpp/ChrootFileSystem.java +++ b/src/java/org/anarres/cpp/ChrootFileSystem.java @@ -31,11 +31,11 @@ public class ChrootFileSystem implements VirtualFileSystem { this.root = root; } - public ChrootFile getFile(String path) { + public VirtualFile getFile(String path) { return new ChrootFile(path); } - public ChrootFile getFile(String dir, String name) { + public VirtualFile getFile(String dir, String name) { return new ChrootFile(dir, name); } diff --git a/src/java/org/anarres/cpp/JavaFileSystem.java b/src/java/org/anarres/cpp/JavaFileSystem.java index 25a13dc..3b1b5ee 100644 --- a/src/java/org/anarres/cpp/JavaFileSystem.java +++ b/src/java/org/anarres/cpp/JavaFileSystem.java @@ -24,11 +24,11 @@ import java.io.IOException; * A virtual filesystem implementation using java.io. */ public class JavaFileSystem implements VirtualFileSystem { - public JavaFile getFile(String path) { + public VirtualFile getFile(String path) { return new JavaFile(path); } - public JavaFile getFile(String dir, String name) { + public VirtualFile getFile(String dir, String name) { return new JavaFile(dir, name); } |