Update of /var/cvs/src/org/mmbase/util
In directory james.mmbase.org:/tmp/cvs-serv10488

Modified Files:
      Tag: MMBase-1_8
        ResourceLoader.java 
Log Message:
MMB-1598,w arning about shadowing was sometime incorrect


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/util
See also: http://www.mmbase.org/jira/browse/MMB-1598


Index: ResourceLoader.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/ResourceLoader.java,v
retrieving revision 1.39.2.8
retrieving revision 1.39.2.9
diff -u -b -r1.39.2.8 -r1.39.2.9
--- ResourceLoader.java 15 Jul 2008 11:25:07 -0000      1.39.2.8
+++ ResourceLoader.java 21 Jul 2008 13:06:39 -0000      1.39.2.9
@@ -97,7 +97,7 @@
  * <p>For property-files, the java-unicode-escaping is undone on loading, and 
applied on saving, so there is no need to think of that.</p>
  * @author Michiel Meeuwissen
  * @since  MMBase-1.8
- * @version $Id: ResourceLoader.java,v 1.39.2.8 2008/07/15 11:25:07 michiel 
Exp $
+ * @version $Id: ResourceLoader.java,v 1.39.2.9 2008/07/21 13:06:39 michiel 
Exp $
  */
 public class ResourceLoader extends ClassLoader {
 
@@ -984,7 +984,7 @@
                 if (con.getDoInput()) {
                     return con.getURL();
                 }
-            } else if (cf instanceof FileURLStreamHandler) {
+            } else if (cf instanceof AbstractFileURLStreamHandler) {
                 FileConnection con = (FileConnection) cf.openConnection(name);
                 File file = con.getFile();
                 if (file.equals(f)) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to