From 38d3f08b4a7302c4a1578c867bdfa3d8a57cd8f9 Mon Sep 17 00:00:00 2001 From: Shevek Date: Fri, 6 Jun 2008 20:59:48 +0000 Subject: change return types on VFS methods --- src/java/org/anarres/cpp/ChrootFileSystem.java | 4 ++-- 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); } -- cgit v1.2.3