OODT-887 apart from the lightweightprofileserver, I have only converted url to uri internally to prevent changes to method signatures and API
Project: http://git-wip-us.apache.org/repos/asf/oodt/repo Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/700694bd Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/700694bd Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/700694bd Branch: refs/heads/master Commit: 700694bdea86deea7bb9e713b0ddf2a23f041d4f Parents: 6683df7 Author: Tom Barber <[email protected]> Authored: Sat Oct 10 07:44:15 2015 +0100 Committer: Tom Barber <[email protected]> Committed: Sat Oct 10 07:44:15 2015 +0100 ---------------------------------------------------------------------- .../handlers/lightweight/LightweightProfileServerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oodt/blob/700694bd/profile/src/test/java/org/apache/oodt/profile/handlers/lightweight/LightweightProfileServerTest.java ---------------------------------------------------------------------- diff --git a/profile/src/test/java/org/apache/oodt/profile/handlers/lightweight/LightweightProfileServerTest.java b/profile/src/test/java/org/apache/oodt/profile/handlers/lightweight/LightweightProfileServerTest.java index ea54ecf..8c7c134 100644 --- a/profile/src/test/java/org/apache/oodt/profile/handlers/lightweight/LightweightProfileServerTest.java +++ b/profile/src/test/java/org/apache/oodt/profile/handlers/lightweight/LightweightProfileServerTest.java @@ -22,7 +22,7 @@ import org.apache.oodt.profile.ProfileElement; import org.apache.oodt.profile.ProfileException; import org.apache.oodt.xmlquery.XMLQuery; -import java.net.URL; +import java.net.URI; import java.util.Iterator; import java.util.List; import java.util.Map; @@ -41,8 +41,8 @@ public class LightweightProfileServerTest extends TestCase { } protected void setUp() throws Exception { - URL url = getClass().getResource("lightweightTest.xml"); - server = new LightweightProfileServer(url, "testing"); + URI uri = getClass().getResource("lightweightTest.xml").toURI(); + server = new LightweightProfileServer(uri, "testing"); } /**
