summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-02 22:40:58 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-02 22:40:58 +0200
commit521aebc1d7b6e234a69ea881686b70510484fd0b (patch)
tree4917e67fbd105723d18ba6e0d248efefee3e8af2 /jurt
parent427e56eaba213f23c4842cd71b967f3025fbe2dd (diff)
Change <file>.toURL() to <file>.toURI().toURL()
Diffstat (limited to 'jurt')
-rw-r--r--jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
index fbb92f9b88ee..5afd769390fd 100644
--- a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
+++ b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
@@ -42,7 +42,7 @@ public final class NativeLibraryLoader_Test extends ComplexTestCase {
File subdir = new File(dir, "with space");
File file1 = new File(subdir, "file");
- String fileUrl = dir.toURL().toString();
+ String fileUrl = dir.toURI().toURL().toString();
if (!fileUrl.endsWith("/")) {
fileUrl += "/";
}
@@ -64,7 +64,7 @@ public final class NativeLibraryLoader_Test extends ComplexTestCase {
File subdir = new File(dir, "with space");
File file1 = new File(subdir, "file");
- String fileUrl = dir.toURL().toString();
+ String fileUrl = dir.toURI().toURL().toString();
if (!fileUrl.endsWith("/")) {
fileUrl += "/";
}