commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1436873 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
Date Tue, 22 Jan 2013 12:40:32 GMT
Author: bodewig
Date: Tue Jan 22 12:40:31 2013
New Revision: 1436873

URL: http://svn.apache.org/viewvc?rev=1436873&view=rev
Log:
buffer can be final

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java?rev=1436873&r1=1436872&r2=1436873&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
Tue Jan 22 12:40:31 2013
@@ -39,7 +39,7 @@ import java.io.InputStream;
  */
 public abstract class ArchiveInputStream extends InputStream {
 
-    private byte[] SINGLE = new byte[1];
+    private final byte[] SINGLE = new byte[1];
     private static final int BYTE_MASK = 0xFF;
 
     /** holds the number of bytes read in this stream */



Mime
View raw message