commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1302000 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java
Date Sat, 17 Mar 2012 20:38:32 GMT
Author: sebb
Date: Sat Mar 17 20:38:32 2012
New Revision: 1302000

URL: http://svn.apache.org/viewvc?rev=1302000&view=rev
Log:
Don't hide parent field name

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java?rev=1302000&r1=1301999&r2=1302000&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestPropertiesConfiguration.java
Sat Mar 17 20:38:32 2012
@@ -1139,15 +1139,15 @@ public class TestPropertiesConfiguration
     static class MockHttpURLConnection extends HttpURLConnection
     {
         /** The response code to return.*/
-        private int responseCode;
+        private final int returnCode;
 
         /** The output file. The output stream will point to this file.*/
-        private File outputFile;
+        private final File outputFile;
 
         protected MockHttpURLConnection(URL u, int respCode, File outFile)
         {
             super(u);
-            responseCode = respCode;
+            returnCode = respCode;
             outputFile = outFile;
         }
 
@@ -1170,7 +1170,7 @@ public class TestPropertiesConfiguration
         @Override
         public int getResponseCode() throws IOException
         {
-            return responseCode;
+            return returnCode;
         }
 
         @Override



Mime
View raw message