This commit is contained in:
Johnny Lim
2022-08-31 23:59:51 +09:00
parent 2ecc37fbef
commit 706c1ec8dd
5 changed files with 7 additions and 7 deletions

View File

@@ -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)) {

View File

@@ -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);
}