@Test(expected = URISyntaxException.class) public void testToURL_URISyntax() throws Exception { toURL("file: }
public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); } }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  static URL toURL(String s); }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  static URL toURL(String s);  }