You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/09/01 22:28:12 UTC
svn commit: r1164261 -
/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/impl/ChainBase.java
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>>();
/**