Remove obsolete code
This commit is contained in:
@@ -294,19 +294,6 @@ public abstract class RequestPredicates {
|
||||
}
|
||||
}
|
||||
|
||||
private static Map<String, String> mergePathVariables(Map<String, String> oldVariables,
|
||||
Map<String, String> newVariables) {
|
||||
|
||||
if (!newVariables.isEmpty()) {
|
||||
Map<String, String> mergedVariables = new LinkedHashMap<>(oldVariables);
|
||||
mergedVariables.putAll(newVariables);
|
||||
return mergedVariables;
|
||||
}
|
||||
else {
|
||||
return oldVariables;
|
||||
}
|
||||
}
|
||||
|
||||
private static PathPattern mergePatterns(@Nullable PathPattern oldPattern, PathPattern newPattern) {
|
||||
if (oldPattern != null) {
|
||||
return oldPattern.combine(newPattern);
|
||||
|
||||
Reference in New Issue
Block a user