diff options
author | Cedric Beust <cedric@beust.com> | 2017-02-03 12:37:46 -0800 |
---|---|---|
committer | Cedric Beust <cedric@beust.com> | 2017-02-03 12:37:46 -0800 |
commit | 657678f25e42a2e7beedb851daab748d47f71306 (patch) | |
tree | b3e5da7ccdbecf815ec530a3d5d5b6a9596b2f97 /src/main/java/com/beust/jcommander/JCommander.java | |
parent | a8ff6e2e8c374c430a3d60e74ca931b21e62e91a (diff) | |
download | jcommander-657678f25e42a2e7beedb851daab748d47f71306.tar.gz |
Remove finals.
Diffstat (limited to 'src/main/java/com/beust/jcommander/JCommander.java')
-rw-r--r-- | src/main/java/com/beust/jcommander/JCommander.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/beust/jcommander/JCommander.java b/src/main/java/com/beust/jcommander/JCommander.java index 390d6a7..213304e 100644 --- a/src/main/java/com/beust/jcommander/JCommander.java +++ b/src/main/java/com/beust/jcommander/JCommander.java @@ -609,7 +609,7 @@ public class JCommander { /** * Main method that parses the values and initializes the fields accordingly. */ - private void parseValues(final String[] args, final boolean validate) { + private void parseValues(String[] args, boolean validate) { // This boolean becomes true if we encounter a command, which indicates we need // to stop parsing (the parsing of the command will be done in a sub JCommander // object) @@ -1284,7 +1284,7 @@ public class JCommander { * Adds a factory to lookup string converters. The added factory is used prior to previously added factories. * @param converterFactory the factory determining string converters */ - public void addConverterFactory(final IStringConverterFactory converterFactory) { + public void addConverterFactory(IStringConverterFactory converterFactory) { addConverterInstanceFactory(new IStringConverterInstanceFactory() { @SuppressWarnings("unchecked") @Override @@ -1306,7 +1306,7 @@ public class JCommander { * Adds a factory to lookup string converters. The added factory is used prior to previously added factories. * @param converterInstanceFactory the factory generating string converter instances */ - public void addConverterInstanceFactory(final IStringConverterInstanceFactory converterInstanceFactory) { + public void addConverterInstanceFactory(IStringConverterInstanceFactory converterInstanceFactory) { options.converterInstanceFactories.add(0, converterInstanceFactory); } @@ -1324,7 +1324,7 @@ public class JCommander { * @param optionName * @param value The value to convert */ - public Object convertValue(final Parameterized parameterized, Class type, String optionName, String value) { + public Object convertValue(Parameterized parameterized, Class type, String optionName, String value) { final Parameter annotation = parameterized.getParameter(); // Do nothing if it's a @DynamicParameter |