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:34:34 UTC
[tomcat] 05/06: Polish - spacing
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 03bbbad1ad8900c6f16d87c06db86b860bf9b788
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 16:45:22 2019 +0100
Polish - 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