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

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new e610066b Code formatting clean-up - primarily to trigger a CI build
e610066b is described below

commit e610066bebf96f6738a84caaeeb7f77fcde86d4f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 27 11:20:21 2021 +0000

    Code formatting clean-up - primarily to trigger a CI build
---
 .../apache/catalina/ant/jmx/JMXAccessorCreateTask.java   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/ant/jmx/JMXAccessorCreateTask.java 
b/java/org/apache/catalina/ant/jmx/JMXAccessorCreateTask.java
index 558a258..bff4b42 100644
--- a/java/org/apache/catalina/ant/jmx/JMXAccessorCreateTask.java
+++ b/java/org/apache/catalina/ant/jmx/JMXAccessorCreateTask.java
@@ -156,23 +156,23 @@ public class JMXAccessorCreateTask extends 
JMXAccessorTask {
         }
         if (classLoader != null && !classLoader.isEmpty()) {
             if (isEcho()) {
-                handleOutput("create MBean " + name + " from class "
-                        + className + " with classLoader " + classLoader);
+                handleOutput("create MBean " + name + " from class " + 
className + " with classLoader " + classLoader);
             }
-            if(args == null)
+            if(args == null) {
                 jmxServerConnection.createMBean(className, new 
ObjectName(name), new ObjectName(classLoader));
-            else
+            } else {
                 jmxServerConnection.createMBean(className, new 
ObjectName(name), new ObjectName(classLoader),argsA,sigA);
+            }
 
         } else {
             if (isEcho()) {
-                handleOutput("create MBean " + name + " from class "
-                        + className);
+                handleOutput("create MBean " + name + " from class " + 
className);
             }
-            if(args == null)
+            if(args == null) {
                 jmxServerConnection.createMBean(className, new 
ObjectName(name));
-            else
+            } else {
                 jmxServerConnection.createMBean(className, new 
ObjectName(name),argsA,sigA);
+            }
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to