GH-315 - Polishing.

This commit is contained in:
Oliver Drotbohm
2023-10-23 08:23:29 +02:00
parent d79ade0a37
commit b829f4e30b

View File

@@ -118,6 +118,11 @@ class SpringBootApplicationRuntime implements ApplicationRuntime {
|| getAutoConfigurationPackages().stream().anyMatch(pkg -> fqn.startsWith(pkg));
}
/**
* Looks up the auto configuration packages and caches them to prevent further lookups.
*
* @return will never be {@literal null}.
*/
private List<String> getAutoConfigurationPackages() {
if (resolvedAutoConfigurationPackages == null) {