commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1584247 - /commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
Date Thu, 03 Apr 2014 01:30:13 GMT
Author: sebb
Date: Thu Apr  3 01:30:12 2014
New Revision: 1584247

URL: http://svn.apache.org/r1584247
Log:
No point having default initial value since the only ctor creates the field anyway

Modified:
    commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java

Modified: commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java?rev=1584247&r1=1584246&r2=1584247&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
(original)
+++ commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
Thu Apr  3 01:30:12 2014
@@ -38,8 +38,8 @@ class IndexedDisk
     /** The size of the header that indicates the amount of data stored in an occupied block.
*/
     public static final byte HEADER_SIZE_BYTES = 4;
 
-    /** The serializer. Uses a standard serializer by default. */
-    protected IElementSerializer elementSerializer = new StandardSerializer();
+    /** The serializer. */
+    private final IElementSerializer elementSerializer;
 
     /** The logger */
     private static final Log log = LogFactory.getLog( IndexedDisk.class );



Mime
View raw message