commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1066994 - /commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/AbstractTestCase.java
Date Thu, 03 Feb 2011 21:50:03 GMT
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));
     }
 
     /**



Mime
View raw message