We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d3197e commit b5262acCopy full SHA for b5262ac
1 file changed
src/main/java/org/apache/commons/cli/CommandLine.java
@@ -619,7 +619,7 @@ public boolean hasOption(final char opt) {
619
* @since 1.5.0
620
*/
621
public boolean hasOption(final Option opt) {
622
- boolean result = options.contains(opt);
+ final boolean result = options.contains(opt);
623
if (result && opt.isDeprecated()) {
624
handleDeprecated(opt);
625
}
0 commit comments