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

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

commit 677b678ec77c51dcefc01d24cbe9ab4d5b2023fd
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 13:59:11 2019 +0100

    Fix indent
---
 java/org/apache/catalina/core/StandardHost.java | 33 +++++++++++--------------
 1 file changed, 15 insertions(+), 18 deletions(-)

diff --git a/java/org/apache/catalina/core/StandardHost.java 
b/java/org/apache/catalina/core/StandardHost.java
index ae45585..a4e0dcd 100644
--- a/java/org/apache/catalina/core/StandardHost.java
+++ b/java/org/apache/catalina/core/StandardHost.java
@@ -832,24 +832,21 @@ public class StandardHost extends ContainerBase 
implements Host {
 
     // -------------------- JMX  --------------------
     /**
-      * Return the MBean Names of the Valves associated with this Host
-      *
-      * @exception Exception if an MBean cannot be created or registered
-      */
-     public String [] getValveNames()
-         throws Exception
-    {
-         Valve [] valves = this.getPipeline().getValves();
-         String [] mbeanNames = new String[valves.length];
-         for (int i = 0; i < valves.length; i++) {
-             if( valves[i] == null ) continue;
-             if( ((ValveBase)valves[i]).getObjectName() == null ) continue;
-             mbeanNames[i] = ((ValveBase)valves[i]).getObjectName().toString();
-         }
-
-         return mbeanNames;
-
-     }
+     * Return the MBean Names of the Valves associated with this Host
+     *
+     * @exception Exception if an MBean cannot be created or registered
+     */
+    public String[] getValveNames() throws Exception {
+        Valve [] valves = this.getPipeline().getValves();
+        String [] mbeanNames = new String[valves.length];
+        for (int i = 0; i < valves.length; i++) {
+            if( valves[i] == null ) continue;
+            if( ((ValveBase)valves[i]).getObjectName() == null ) continue;
+            mbeanNames[i] = ((ValveBase)valves[i]).getObjectName().toString();
+        }
+
+        return mbeanNames;
+    }
 
     public String[] getAliases() {
         synchronized (aliasesLock) {


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

Reply via email to