mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 02:39:56 +00:00
addressing comments
This commit is contained in:
parent
d95634e040
commit
49707fef84
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user