summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-02 22:54:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-02 22:54:04 +0200
commit27aec216f285f82a8ddcd5e9f02ebdd0d687fc69 (patch)
treed630f9d9940f00375839cb4323577d893580a718 /odk
parent4e3e4a74f64cfbef7c24390e9290ba896e0c9f2e (diff)
Change <file>.toURL() to <file>.toURI().toURL()
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Forms/URLHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/URLHelper.java b/odk/examples/DevelopersGuide/Forms/URLHelper.java
index 97c9a6bb8403..947b6c30132c 100644
--- a/odk/examples/DevelopersGuide/Forms/URLHelper.java
+++ b/odk/examples/DevelopersGuide/Forms/URLHelper.java
@@ -47,7 +47,7 @@ public class URLHelper
String sFileURL = null;
try
{
- sFileURL = aSystemPath.toURL().toString();
+ sFileURL = aSystemPath.toURI().toURL().toString();
}
catch( MalformedURLException exWrong )
{