From 2c887248f0592cbb501741bc4e61f8861c7b7f87 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 20 Feb 2013 10:15:14 -0800 Subject: [PATCH] Make SpringFactoriesLoader.loadFactoryNames public Update the SpringFactoriesLoader static loadFactoryNames method from private to public. Issue: SPR-10528 --- .../core/io/support/SpringFactoriesLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java b/spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java index 13ae7ca91f..57f886f653 100644 --- a/spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java +++ b/spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java @@ -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 loadFactoryNames(Class factoryClass, ClassLoader classLoader) { + public static List loadFactoryNames(Class factoryClass, ClassLoader classLoader) { String factoryClassName = factoryClass.getName(); try { List result = new ArrayList();