summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--vm/reference/java/io/VMFile.java4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d03fbb783..a6f6369bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-28 Mark Wielaard <mark@klomp.org>
+
+ * vm/reference/java/io/VMFile.java (toCanonicalForm): Made
+ static.
+
2004-07-27 Jeroen Frijters <jeroen@frijters.net>
* vm/reference/java/io/VMFile.java (toCanonicalForm): New method.
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);