summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/io/VMFile.java4
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);