Author: almaw Date: Thu May 10 10:23:59 2007 New Revision: 536944 URL: http://svn.apache.org/viewvc?view=rev&rev=536944 Log: Fix silly logic issue.
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/file/WebApplicationPath.java Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/file/WebApplicationPath.java URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/file/WebApplicationPath.java?view=diff&rev=536944&r1=536943&r2=536944 ============================================================================== --- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/file/WebApplicationPath.java (original) +++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/file/WebApplicationPath.java Thu May 10 10:23:59 2007 @@ -113,13 +113,7 @@ final URL url = servletContext.getResource(path + pathname); if (url != null) { - IResourceStream stream = new UrlResourceStream(url); - if (stream == null) - { - log.error("ClassLoader problem: found the URL, but was unable to load it. URL=" - + url.toExternalForm()); - } - return stream; + return new UrlResourceStream(url); } } catch (Exception ex)