You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/09/27 16:35:08 UTC

[tomcat] 09/10: Align with 9.0.x spacing

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

commit 02bbd571c8eb840992ad1f8493ced2f953d22f6b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 16:45:44 2019 +0100

    Align with 9.0.x spacing
---
 java/org/apache/catalina/mbeans/ContainerMBean.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/mbeans/ContainerMBean.java b/java/org/apache/catalina/mbeans/ContainerMBean.java
index 511b117..0798f32 100644
--- a/java/org/apache/catalina/mbeans/ContainerMBean.java
+++ b/java/org/apache/catalina/mbeans/ContainerMBean.java
@@ -134,7 +134,7 @@ public class ContainerMBean extends BaseCatalinaMBean<ContainerBase> {
             throw new MBeanException(e);
         }
 
-        if (container != null){
+        if (container != null) {
             Valve[] valves = container.getPipeline().getValves();
             for (int i = 0; i < valves.length; i++) {
                 if (valves[i] instanceof JmxEnabled) {
@@ -153,7 +153,7 @@ public class ContainerMBean extends BaseCatalinaMBean<ContainerBase> {
      *
      * @param type ClassName of the listener to add
      * @throws MBeanException if adding the listener failed
-    */
+     */
     public void addLifecycleListener(String type) throws MBeanException{
         LifecycleListener listener = (LifecycleListener) newInstance(type);
         Container container = doGetManagedResource();


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