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:24 UTC

[activemq] branch master updated: Make ActiveMQConfiguration.loadClass private

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 10910a4  Make ActiveMQConfiguration.loadClass private
     new 69e5fef  Merge pull request #372 from coheigea/config
10910a4 is described below

commit 10910a423c3a874e90a402f54ecaa26bf0d05ee8
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 {