Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Dec 6, 2023
1 parent a5da112 commit 6630eb8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ public Map<String, Object> normalize(Map<String, String> args, ShortcutConfigura
// strip boolean flag if last entry is true or false
int lastIdx = values.size() - 1;
String lastValue = values.get(lastIdx);
if ("true".equalsIgnoreCase(lastValue) || "false".equalsIgnoreCase(lastValue) || lastValue == null) {
if ("true".equalsIgnoreCase(lastValue) || "false".equalsIgnoreCase(lastValue)
|| lastValue == null) {
values = values.subList(0, lastIdx);
map.put(fieldOrder.get(1), getValue(parser, beanFactory, lastValue));
}
Expand Down

0 comments on commit 6630eb8

Please sign in to comment.