addressing comments

This commit is contained in:
iadgovuser26 2022-07-18 13:56:47 -04:00
parent d95634e040
commit 49707fef84

View File

@ -357,15 +357,14 @@ public class Commander {
* @return false is an invalid combination was found * @return false is an invalid combination was found
*/ */
public final boolean checkForInvalidOptions() { public final boolean checkForInvalidOptions() {
bValidArgs = false; if (!bEventIds && (bEventHex || bContentHex)) {
if (!bEventIds && (bEventHex || bContentHex)) { bValidArgs = false;
return false; } else if (bHex && (bEventHex || bContentHex)) {
bValidArgs = false;
} else {
bValidArgs = true;
} }
if (bHex && (bEventHex || bContentHex)) { return bValidArgs;
return false;
}
bValidArgs = true;
return true;
} }
/** /**
* Check for situations where default values need to be set. * Check for situations where default values need to be set.