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 b68b7c0 Trivial reformat to trigger a CI build
b68b7c0 is described below
commit b68b7c0b84317b304c4c8e84fe3f0abecb5d2a18
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Mar 29 19:01:21 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: [email protected]
For additional commands, e-mail: [email protected]