commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r768547 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
Date Sat, 25 Apr 2009 15:26:41 GMT
Author: sebb
Date: Sat Apr 25 15:26:40 2009
New Revision: 768547

URL: http://svn.apache.org/viewvc?rev=768547&view=rev
Log:
Fields might as well be final

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java?rev=768547&r1=768546&r2=768547&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
Sat Apr 25 15:26:40 2009
@@ -25,9 +25,9 @@
  * Stores the results of an performed ChangeSet operation.
  */
 public class ChangeSetResults {
-    private List addedFromChangeSet = new ArrayList();
-    private List addedFromStream = new ArrayList();
-    private List deleted = new ArrayList();
+    private final List addedFromChangeSet = new ArrayList();
+    private final List addedFromStream = new ArrayList();
+    private final List deleted = new ArrayList();
     
     /**
      * Adds the filename of a recently deleted file to the result list.



Mime
View raw message