diff options
author | Mark Wielaard <mark@klomp.org> | 2004-07-28 06:55:38 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2004-07-28 06:55:38 +0000 |
commit | 87316d980e2f419ba93129b597e3dbe3ab934deb (patch) | |
tree | a2bcfc3f287f4bf5ee19d08c2b6f385cb5281a18 /vm | |
parent | b94f90862e83305ec7490f2da6ce634b9696a486 (diff) | |
download | classpath-87316d980e2f419ba93129b597e3dbe3ab934deb.tar.gz |
* vm/reference/java/io/VMFile.java (toCanonicalForm): Made
static.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/reference/java/io/VMFile.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/reference/java/io/VMFile.java b/vm/reference/java/io/VMFile.java index c88b9b69f..21e71f9e2 100644 --- a/vm/reference/java/io/VMFile.java +++ b/vm/reference/java/io/VMFile.java @@ -194,7 +194,7 @@ final class VMFile /** * This method returns a canonical representation of the pathname of - * this file. The actual form of the canonical representation is + * the given path. The actual form of the canonical representation is * different. On the GNU system, the canonical form differs from the * absolute form in that all relative file references to "." and ".." * are resolved and removed. @@ -205,7 +205,7 @@ final class VMFile * * @exception IOException If an error occurs */ - public String toCanonicalForm(String path) throws IOException + public static String toCanonicalForm(String path) throws IOException { // FIXME: this only works on UNIX return PlatformHelper.toCanonicalForm(path); |