Skip to content

Commit ccae69f

Browse files
committed
'args' and 'options' collections can be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1095611 13f79535-47bb-0310-9956-ffa450edef68
1 parent d76f7ff commit ccae69f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/cli/CommandLine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public class CommandLine implements Serializable
4646
private static final long serialVersionUID = 1L;
4747

4848
/** the unrecognised options/arguments */
49-
private List<String> args = new LinkedList<String>();
49+
private final List<String> args = new LinkedList<String>();
5050

5151
/** the processed options */
52-
private List<Option> options = new ArrayList<Option>();
52+
private final List<Option> options = new ArrayList<Option>();
5353

5454
/**
5555
* Creates a command line.

0 commit comments

Comments
 (0)