This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 31203aafe9 Code clean-up - formatting. No functional change. 31203aafe9 is described below commit 31203aafe9e4b2ba40463a1db71430b1ffef1edc Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed May 10 17:05:54 2023 +0100 Code clean-up - formatting. No functional change. --- java/org/apache/catalina/ant/jmx/JMXAccessorQueryTask.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/org/apache/catalina/ant/jmx/JMXAccessorQueryTask.java b/java/org/apache/catalina/ant/jmx/JMXAccessorQueryTask.java index 4f8aa81b46..f0dd05f482 100644 --- a/java/org/apache/catalina/ant/jmx/JMXAccessorQueryTask.java +++ b/java/org/apache/catalina/ant/jmx/JMXAccessorQueryTask.java @@ -154,10 +154,7 @@ public class JMXAccessorQueryTask extends JMXAccessorTask { } continue; } - if (value == null) { - continue; - } - if ("modelerType".equals(attName)) { + if ((value == null) || "modelerType".equals(attName)) { continue; } createProperty(pname + attName, value); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org