summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-06-06 20:59:48 +0000
committerShevek <[email protected]>2008-06-06 20:59:48 +0000
commit38d3f08b4a7302c4a1578c867bdfa3d8a57cd8f9 (patch)
treea199019c10a43cf6479489343a4cab57565b4897 /src/java
parent8e947d8355d4d7199505eb4c7fa88c46bc8c99a7 (diff)
change return types on VFS methods
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/anarres/cpp/ChrootFileSystem.java4
-rw-r--r--src/java/org/anarres/cpp/JavaFileSystem.java4
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);
}