Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmurp committed May 30, 2024
1 parent 96b2da4 commit f61ba60
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/main/java/com/hcl/appscan/sdk/scanners/sast/SAClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,17 +337,17 @@ private List<String> getClientArgs(Map<String, String> properties) {
}
if(properties.containsKey(SCAN_SPEED)) {
args.add(OPT_SCAN_SPEED);
if(properties.get(SCAN_SPEED).equals(NORMAL)){
args.add(THOROUGH);
} else if (properties.get(SCAN_SPEED).equals(FAST)) {
args.add(DEEP);
} else if (properties.get(SCAN_SPEED).equals(FASTER)) {
args.add(BALANCED);
} else if (properties.get(SCAN_SPEED).equals(FASTEST)) {
args.add(SIMPLE);
} else {
args.add(properties.get(SCAN_SPEED));
}
if(properties.get(SCAN_SPEED).equals(NORMAL)){
args.add(THOROUGH);
} else if (properties.get(SCAN_SPEED).equals(FAST)) {
args.add(DEEP);
} else if (properties.get(SCAN_SPEED).equals(FASTER)) {
args.add(BALANCED);
} else if (properties.get(SCAN_SPEED).equals(FASTEST)) {
args.add(SIMPLE);
} else {
args.add(properties.get(SCAN_SPEED));
}
}
if(properties.containsKey(SECRETS_ENABLED) || System.getProperty(SECRETS_ENABLED) != null) {
args.add(OPT_SECRETS_ENABLED);
Expand Down

0 comments on commit f61ba60

Please sign in to comment.