diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-02 22:40:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-02 22:40:58 +0200 |
commit | 55edd4058251c1bc5528e09151026cd9229d92a7 (patch) | |
tree | 793be32954beaf1c2a69d077a3f7b2787360c407 /jurt | |
parent | b8f7ae802e08768e47e2165d09b3733e02f09329 (diff) |
Change <file>.toURL() to <file>.toURI().toURL()
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java | 4 |
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 723d2e0d0..6c5ca0659 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 += "/"; } |