Start building against Spring Framework 6.1.0 snapshots

See gh-37231
This commit is contained in:
Andy Wilkinson
2023-09-07 10:17:42 +01:00
parent 4b0c8eba4c
commit 02fd570b7d
2 changed files with 5 additions and 3 deletions

View File

@@ -49,8 +49,10 @@ class ConfigDataLocationRuntimeHints implements RuntimeHintsRegistrar {
logger.debug("Registering application configuration hints for " + fileNames + "(" + extensions + ") at "
+ locations);
}
new FilePatternResourceHintsRegistrar(fileNames, locations, extensions).registerHints(hints.resources(),
classLoader);
FilePatternResourceHintsRegistrar.forClassPathLocations(locations.toArray(new String[0]))
.withFilePrefixes(fileNames.toArray(new String[0]))
.withFileExtensions(extensions.toArray(new String[0]))
.registerHints(hints.resources(), classLoader);
}
/**