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
*/
public final boolean checkForInvalidOptions() {
bValidArgs = false;
if (!bEventIds && (bEventHex || bContentHex)) {
return false;
if (!bEventIds && (bEventHex || bContentHex)) {
bValidArgs = false;
} else if (bHex && (bEventHex || bContentHex)) {
bValidArgs = false;
} else {
bValidArgs = true;
}
if (bHex && (bEventHex || bContentHex)) {
return false;
}
bValidArgs = true;
return true;
return bValidArgs;
}
/**
* Check for situations where default values need to be set.