Skip to content

Commit 6630eb8

Browse files
committed
formatting
1 parent a5da112 commit 6630eb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/ShortcutConfigurable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ public Map<String, Object> normalize(Map<String, String> args, ShortcutConfigura
151151
// strip boolean flag if last entry is true or false
152152
int lastIdx = values.size() - 1;
153153
String lastValue = values.get(lastIdx);
154-
if ("true".equalsIgnoreCase(lastValue) || "false".equalsIgnoreCase(lastValue) || lastValue == null) {
154+
if ("true".equalsIgnoreCase(lastValue) || "false".equalsIgnoreCase(lastValue)
155+
|| lastValue == null) {
155156
values = values.subList(0, lastIdx);
156157
map.put(fieldOrder.get(1), getValue(parser, beanFactory, lastValue));
157158
}

0 commit comments

Comments
 (0)