You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/annotation/ImportCandidates.java
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2024 the original author or authors.
2
+
* Copyright 2012-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
29
29
30
30
importorg.springframework.core.io.UrlResource;
31
31
importorg.springframework.util.Assert;
32
+
importorg.springframework.util.ClassUtils;
32
33
33
34
/**
34
35
* Contains {@code @Configuration} import candidates, usually auto-configurations.
@@ -73,7 +74,8 @@ public List<String> getCandidates() {
73
74
* Every line contains the full qualified name of the candidate class. Comments are
74
75
* supported using the # character.
75
76
* @param annotation annotation to load
76
-
* @param classLoader class loader to use for loading
77
+
* @param classLoader class loader to use for loading, or {@code null} to use the
78
+
* {@link ClassUtils#getDefaultClassLoader() default class loader}
0 commit comments