diff options
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/java_uno/equals/TestEquals.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java index 5f3ee34a1c1d..9d7139b11b8c 100644 --- a/bridges/test/java_uno/equals/TestEquals.java +++ b/bridges/test/java_uno/equals/TestEquals.java @@ -71,7 +71,7 @@ public final class TestEquals { } private static String toFileUrl(String path) throws MalformedURLException { - String url = new File(path).toURL().toString(); + String url = new File(path).toURI().toURL().toString(); String prefix = "file:/"; if (url.startsWith(prefix) && (url.length() == prefix.length() |