commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1164261 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java
Date Thu, 01 Sep 2011 20:28:12 GMT
Author: simonetripodi
Date: Thu Sep  1 20:28:11 2011
New Revision: 1164261

URL: http://svn.apache.org/viewvc?rev=1164261&view=rev
Log:
the command list can be final

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java?rev=1164261&r1=1164260&r2=1164261&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java
Thu Sep  1 20:28:11 2011
@@ -116,7 +116,7 @@ public class ChainBase<C extends Context
      * the order in which they may delegate processing to the remainder of
      * the {@link Chain}.</p>
      */
-    private List<Command<C>> commands = new ArrayList<Command<C>>();
+    private final List<Command<C>> commands = new ArrayList<Command<C>>();
 
 
     /**



Mime
View raw message