coheigea commented on a change in pull request #448: Fix unused format 
arguments in log messages.
URL: https://github.com/apache/activemq/pull/448#discussion_r378078002
 
 

 ##########
 File path: 
activemq-client/src/main/java/org/apache/activemq/util/ClassLoadingAwareObjectInputStream.java
 ##########
 @@ -129,7 +129,7 @@ private void checkSecurity(Class clazz) throws 
ClassNotFoundException {
             try {
                 Class<?> answer = Class.forName(className, false, loader);
                 if (LOG.isTraceEnabled()) {
-                    LOG.trace("Loaded class: {} using classloader: {} -> ", 
new Object[]{className, cl, answer});
+                    LOG.trace("Loaded class: {} using classloader: {} -> {}", 
new Object[]{className, cl, answer});
 
 Review comment:
   I think here we should remove new Object[] and just use varargs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to