Merge pull request #372 from coheigea/config

Make ActiveMQConfiguration.loadClass private
This commit is contained in:
Jean-Baptiste Onofré 2019-07-15 07:11:19 +02:00 committed by GitHub
commit 69e5fef582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ public class ActiveMQConfiguration extends JmsConfiguration {
} }
} }
public static Class<?> loadClass(String name, ClassLoader loader) throws ClassNotFoundException { private static Class<?> loadClass(String name, ClassLoader loader) throws ClassNotFoundException {
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
if (contextClassLoader != null) { if (contextClassLoader != null) {
try { try {