geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1127369 - /geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java
Date Wed, 25 May 2011 03:05:41 GMT
Author: dblevins
Date: Wed May 25 03:05:40 2011
New Revision: 1127369

URL: http://svn.apache.org/viewvc?rev=1127369&view=rev
Log:
Open up that internal getResource method

Modified:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java

Modified: geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java?rev=1127369&r1=1127368&r2=1127369&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java
(original)
+++ geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/ResourceFinder.java
Wed May 25 03:05:40 2011
@@ -124,7 +124,7 @@ public class ResourceFinder {
 
         URL resource = getResource(fullUri);
         if (resource == null) {
-            throw new IOException("Could not find resource '" + fullUri + "'");
+            throw new IOException("Could not find resource '" + path + uri + "'");
         }
 
         return resource;
@@ -925,7 +925,7 @@ public class ResourceFinder {
         }
     }
 
-    private URL getResource(String fullUri) {
+    public URL getResource(String fullUri) {
         if (urls == null){
             return classLoader.getResource(fullUri);
         }



Mime
View raw message