Merge branch '6.0.x'

This commit is contained in:
Sam Brannen
2023-07-05 14:02:49 +02:00
4 changed files with 6 additions and 5 deletions

View File

@@ -42,8 +42,7 @@ public class CandidateComponentsTestClassLoader extends ClassLoader {
* @see org.springframework.context.index.CandidateComponentsIndexLoader#COMPONENTS_RESOURCE_LOCATION
*/
public static ClassLoader disableIndex(ClassLoader classLoader) {
return new CandidateComponentsTestClassLoader(classLoader,
Collections.enumeration(Collections.emptyList()));
return new CandidateComponentsTestClassLoader(classLoader, Collections.emptyEnumeration());
}
/**