Polish
This commit is contained in:
@@ -65,7 +65,7 @@ public class FilePatternResourceHintsRegistrar {
|
||||
}
|
||||
|
||||
private static List<String> validateLocations(List<String> locations) {
|
||||
Assert.notEmpty(locations, () -> "At least one location should be specified");
|
||||
Assert.notEmpty(locations, "At least one location should be specified");
|
||||
List<String> parsedLocations = new ArrayList<>();
|
||||
for (String location : locations) {
|
||||
if (location.startsWith(ResourceUtils.CLASSPATH_URL_PREFIX)) {
|
||||
|
||||
@@ -107,7 +107,7 @@ class SpringFactoriesLoaderRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
private static class ExtendedSpringFactoriesLoader extends SpringFactoriesLoader {
|
||||
|
||||
public ExtendedSpringFactoriesLoader(@Nullable ClassLoader classLoader, Map<String, List<String>> factories) {
|
||||
ExtendedSpringFactoriesLoader(@Nullable ClassLoader classLoader, Map<String, List<String>> factories) {
|
||||
super(classLoader, factories);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user