Skip to content

Commit 13db31c

Browse files
committed
Make SpringFactoriesLoader.loadFactoryNames public
Update the SpringFactoriesLoader static loadFactoryNames method from private to public.
1 parent da525bd commit 13db31c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -82,7 +82,7 @@ public static <T> List<T> loadFactories(Class<T> factoryClass, ClassLoader class
8282
return result;
8383
}
8484

85-
private static List<String> loadFactoryNames(Class<?> factoryClass, ClassLoader classLoader) {
85+
public static List<String> loadFactoryNames(Class<?> factoryClass, ClassLoader classLoader) {
8686
String factoryClassName = factoryClass.getName();
8787
try {
8888
List<String> result = new ArrayList<String>();

0 commit comments

Comments
 (0)