Skip to content

Commit 7471fd1

Browse files
committed
Remove obsolete code
1 parent 1c58511 commit 7471fd1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -294,19 +294,6 @@ private static void traceMatch(String prefix, Object desired, @Nullable Object a
294294
}
295295
}
296296

297-
private static Map<String, String> mergePathVariables(Map<String, String> oldVariables,
298-
Map<String, String> newVariables) {
299-
300-
if (!newVariables.isEmpty()) {
301-
Map<String, String> mergedVariables = new LinkedHashMap<>(oldVariables);
302-
mergedVariables.putAll(newVariables);
303-
return mergedVariables;
304-
}
305-
else {
306-
return oldVariables;
307-
}
308-
}
309-
310297
private static PathPattern mergePatterns(@Nullable PathPattern oldPattern, PathPattern newPattern) {
311298
if (oldPattern != null) {
312299
return oldPattern.combine(newPattern);

0 commit comments

Comments
 (0)