Skip to content

Commit 92f1def

Browse files
committed
Add final modifier to private fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1797675 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5fb9e50 commit 92f1def

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/cli/bug/BugCLI266Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
public class BugCLI266Test {
3535

36-
private List<String> insertedOrder = Arrays.asList("h", "d", "f", "x", "s", "p", "t", "w", "o");
37-
private List<String> sortOrder = Arrays.asList("d", "f", "h", "o", "p", "s", "t", "w", "x");
36+
private final List<String> insertedOrder = Arrays.asList("h", "d", "f", "x", "s", "p", "t", "w", "o");
37+
private final List<String> sortOrder = Arrays.asList("d", "f", "h", "o", "p", "s", "t", "w", "x");
3838

3939
@Test
4040
public void testOptionComparatorDefaultOrder() throws ParseException {

0 commit comments

Comments
 (0)