Merge branch 'http_url' into oss-master

This commit is contained in:
Dain 2012-02-14 10:54:04 -07:00
commit c323bc86b5

View File

@ -81,7 +81,11 @@ public final class URL {
private static URLStreamHandler findHandler(String protocol)
throws MalformedURLException
{
if ("resource".equals(protocol)) {
if ("http".equals(protocol)) {
return new avian.file.Handler();
} else if ("https".equals(protocol)) {
return new avian.file.Handler();
} else if ("resource".equals(protocol)) {
return new avian.resource.Handler();
} else if ("file".equals(protocol)) {
return new avian.file.Handler();