Remove redundant condition (A || A)

This commit is contained in:
amorris13 2016-09-30 14:28:50 +01:00 committed by GitHub
parent 81b22df13c
commit 94c67415f9

View File

@ -94,7 +94,7 @@ public class Main {
// if no commands ran, run the version / usage check.
if (cmdFound == false) {
if (commandLine.hasOption("version") || commandLine.hasOption("version")) {
if (commandLine.hasOption("version")) {
_version();
} else {
usage(commandLine);