Merge branch '6.2.x'
# Conflicts: # spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceHandlerUtils.java # spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHandlerUtils.java
This commit is contained in:
@@ -784,9 +784,9 @@ public abstract class StringUtils {
|
||||
pathElements.addFirst(CURRENT_PATH);
|
||||
}
|
||||
|
||||
final String joined = collectionToDelimitedString(pathElements, FOLDER_SEPARATOR);
|
||||
// avoid string concatenation with empty prefix
|
||||
return prefix.isEmpty() ? joined : prefix + joined;
|
||||
String joined = collectionToDelimitedString(pathElements, FOLDER_SEPARATOR);
|
||||
// Avoid String concatenation with empty prefix
|
||||
return (prefix.isEmpty() ? joined : prefix + joined);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -461,7 +461,7 @@ class GenericTypeResolverTests {
|
||||
}
|
||||
}
|
||||
|
||||
public interface InterfaceWithDefaultMethod<T extends InheritsDefaultMethod.AbstractType> {
|
||||
public interface InterfaceWithDefaultMethod<T extends InterfaceWithDefaultMethod.AbstractType> {
|
||||
|
||||
default String get(T input) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
Reference in New Issue
Block a user