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 845d972580c5629bb03d4b79506cec86779e56fb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 17:01:56 2019 +0100

    Align with 9.0.x - spacing
---
 java/org/apache/catalina/mbeans/MBeanFactory.java | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/java/org/apache/catalina/mbeans/MBeanFactory.java 
b/java/org/apache/catalina/mbeans/MBeanFactory.java
index fa9ccaa..e3d781d 100644
--- a/java/org/apache/catalina/mbeans/MBeanFactory.java
+++ b/java/org/apache/catalina/mbeans/MBeanFactory.java
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.catalina.mbeans;
 
 import java.io.File;
@@ -204,6 +203,7 @@ public class MBeanFactory {
         return createConnector(parent, address, port, true, false);
     }
 
+
     /**
      * Create a new DataSource Realm.
      *
@@ -242,9 +242,9 @@ public class MBeanFactory {
         } else {
             return null;
         }
-
     }
 
+
     /**
      * Create a new HttpConnector
      *
@@ -260,6 +260,7 @@ public class MBeanFactory {
         return createConnector(parent, address, port, false, false);
     }
 
+
     /**
      * Create a new Connector
      *
@@ -312,6 +313,7 @@ public class MBeanFactory {
         return createConnector(parent, address, port, false, true);
     }
 
+
     /**
      * Create a new JDBC Realm.
      *
@@ -348,7 +350,6 @@ public class MBeanFactory {
         } else {
             return null;
         }
-
     }
 
 
@@ -360,8 +361,7 @@ public class MBeanFactory {
      *
      * @exception Exception if an MBean cannot be created or registered
      */
-    public String createJNDIRealm(String parent)
-        throws Exception {
+    public String createJNDIRealm(String parent) throws Exception {
 
          // Create a new JNDIRealm instance
         JNDIRealm realm = new JNDIRealm();
@@ -379,8 +379,6 @@ public class MBeanFactory {
         } else {
             return null;
         }
-
-
     }
 
 
@@ -392,8 +390,7 @@ public class MBeanFactory {
      *
      * @exception Exception if an MBean cannot be created or registered
      */
-    public String createMemoryRealm(String parent)
-        throws Exception {
+    public String createMemoryRealm(String parent) throws Exception {
 
          // Create a new MemoryRealm instance
         MemoryRealm realm = new MemoryRealm();
@@ -410,7 +407,6 @@ public class MBeanFactory {
         } else {
             return null;
         }
-
     }
 
 


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

Reply via email to