commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1492411 - in /commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml: ConfigParser2TestCase.java ConfigParserTestCase.java
Date Wed, 12 Jun 2013 20:22:22 GMT
Author: britter
Date: Wed Jun 12 20:22:22 2013
New Revision: 1492411

URL: http://svn.apache.org/r1492411
Log:
Remove unneeded this qualifier

Modified:
    commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParser2TestCase.java
    commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParserTestCase.java

Modified: commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParser2TestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParser2TestCase.java?rev=1492411&r1=1492410&r2=1492411&view=diff
==============================================================================
--- commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParser2TestCase.java
(original)
+++ commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParser2TestCase.java
Wed Jun 12 20:22:22 2013
@@ -329,7 +329,7 @@ public class ConfigParser2TestCase {
 
     // Load the specified catalog from the specified resource path
     protected void load(String path) throws Exception {
-        parser.parse(this.getClass().getResource(path));
+        parser.parse(getClass().getResource(path));
         CatalogFactory<String, Object, Context<String, Object>> catalogFactory
             = CatalogFactoryBase.getInstance();
         catalog = catalogFactory.getCatalog("foo");

Modified: commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParserTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParserTestCase.java?rev=1492411&r1=1492410&r2=1492411&view=diff
==============================================================================
--- commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParserTestCase.java
(original)
+++ commons/proper/chain/trunk/configuration/xml/src/test/java/org/apache/commons/chain2/config/xml/ConfigParserTestCase.java
Wed Jun 12 20:22:22 2013
@@ -329,7 +329,7 @@ public class ConfigParserTestCase {
 
     // Load the specified catalog from the specified resource path
     protected void load(String path) throws Exception {
-        URL url = this.getClass().getResource(path);
+        URL url = getClass().getResource(path);
 
         if (url == null) {
             String msg = String.format("Can't find resource for path: %s", path);



Mime
View raw message