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
|
* @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.
|
||||||
|
Loading…
Reference in New Issue
Block a user