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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8623d4b  Trivial reformat to trigger a CI build
8623d4b is described below

commit 8623d4becf96dce9c467600cc5791b3847e661f7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 29 19:01:12 2021 +0100

    Trivial reformat to trigger a CI build
---
 java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java 
b/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
index a13fe90..27e30e6 100644
--- a/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
+++ b/java/org/apache/catalina/ant/jmx/JMXAccessorConditionBase.java
@@ -170,8 +170,9 @@ public abstract class JMXAccessorConditionBase extends 
ProjectComponent implemen
         try {
             Object result = getJMXConnection().getAttribute(
                     new ObjectName(name), attribute);
-            if(result != null)
+            if (result != null) {
                 return result.toString();
+            }
         } catch (Exception e) {
             // ignore access or connection open errors
         }

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

Reply via email to