commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1004843 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
Date Tue, 05 Oct 2010 22:33:29 GMT
Author: sebb
Date: Tue Oct  5 22:33:29 2010
New Revision: 1004843

URL: http://svn.apache.org/viewvc?rev=1004843&view=rev
Log:
Immutable private field might as well be final

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java?rev=1004843&r1=1004842&r2=1004843&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
Tue Oct  5 22:33:29 2010
@@ -97,7 +97,7 @@ public class XmlStreamReader extends Rea
 
     private String encoding;
 
-    private String defaultEncoding;
+    private final String defaultEncoding;
 
     /**
      * Sets the default encoding to use if none is set in HTTP content-type, XML



Mime
View raw message