You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/02/03 22:50:03 UTC

svn commit: r1066994 - /commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java

Author: simonetripodi
Date: Thu Feb  3 21:50:02 2011
New Revision: 1066994

URL: http://svn.apache.org/viewvc?rev=1066994&view=rev
Log:
resources searched in the same package, not need to specify it

Modified:
    commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java

Modified: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java?rev=1066994&r1=1066993&r2=1066994&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java (original)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java Thu Feb  3 21:50:02 2011
@@ -46,7 +46,7 @@ abstract class AbstractTestCase {
      * @exception IOException if an input/output error occurs
      */
     protected InputStream getInputStream(String name) throws IOException {
-        return (this.getClass().getResourceAsStream("/org/apache/commons/digester3/" + name));
+        return (this.getClass().getResourceAsStream(name));
     }
 
     /**