From 27aec216f285f82a8ddcd5e9f02ebdd0d687fc69 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 2 May 2011 22:54:04 +0200 Subject: Change .toURL() to .toURI().toURL() --- odk/examples/DevelopersGuide/Forms/URLHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odk/examples/DevelopersGuide') 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 ) { -- cgit