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>>(); /**