You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2019/07/15 05:11:51 UTC

[activemq] branch activemq-5.15.x updated: Make ActiveMQConfiguration.loadClass private

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
     new 20fa197  Make ActiveMQConfiguration.loadClass private
20fa197 is described below

commit 20fa197b137a02d857181fe2ddedb8f9caa31eac
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu Jul 11 10:09:30 2019 +0100

    Make ActiveMQConfiguration.loadClass private
---
 .../java/org/apache/activemq/camel/component/ActiveMQConfiguration.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java b/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
index 4179b7b..af040a2 100644
--- a/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
+++ b/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
@@ -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();
         if (contextClassLoader != null) {
             try {