Make SpringFactoriesLoader.loadFactoryNames public

Update the SpringFactoriesLoader static loadFactoryNames method from
private to public.

Issue: SPR-10528
This commit is contained in:
Phillip Webb
2013-02-20 10:15:14 -08:00
parent a22bb43c0c
commit 2c887248f0

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,7 +82,7 @@ public abstract class SpringFactoriesLoader {
return result;
}
private static List<String> loadFactoryNames(Class<?> factoryClass, ClassLoader classLoader) {
public static List<String> loadFactoryNames(Class<?> factoryClass, ClassLoader classLoader) {
String factoryClassName = factoryClass.getName();
try {
List<String> result = new ArrayList<String>();