You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/04/03 03:30:13 UTC
svn commit: r1584247 -
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
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 );