You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/04/22 15:27:04 UTC

[tomcat] branch 9.0.x updated: Tab police

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

remm 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 97d7398  Tab police
97d7398 is described below

commit 97d7398c7853c3da2d8eafce501324b5b20e9e8d
Author: remm <re...@apache.org>
AuthorDate: Wed Apr 22 17:25:35 2020 +0200

    Tab police
---
 java/org/apache/catalina/core/DefaultInstanceManager.java | 3 +--
 test/org/apache/tomcat/unittest/TesterContext.java        | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/core/DefaultInstanceManager.java b/java/org/apache/catalina/core/DefaultInstanceManager.java
index 52a351c..259f4cf 100644
--- a/java/org/apache/catalina/core/DefaultInstanceManager.java
+++ b/java/org/apache/catalina/core/DefaultInstanceManager.java
@@ -443,8 +443,7 @@ public class DefaultInstanceManager implements InstanceManager {
                     // Use common object to save memory
                     annotationsArray = ANNOTATIONS_EMPTY;
                 } else {
-                    annotationsArray = annotations.toArray(
-							new AnnotationCacheEntry[0]);
+                    annotationsArray = annotations.toArray(new AnnotationCacheEntry[0]);
                 }
                 synchronized (annotationCache) {
                     annotationCache.put(clazz, annotationsArray);
diff --git a/test/org/apache/tomcat/unittest/TesterContext.java b/test/org/apache/tomcat/unittest/TesterContext.java
index 08b7680..c6d080a 100644
--- a/test/org/apache/tomcat/unittest/TesterContext.java
+++ b/test/org/apache/tomcat/unittest/TesterContext.java
@@ -100,8 +100,7 @@ public class TesterContext implements Context {
 
     @Override
     public SecurityConstraint[] findConstraints() {
-        return securityConstraints.toArray(
-				new SecurityConstraint[0]);
+        return securityConstraints.toArray(new SecurityConstraint[0]);
     }
 
     @Override


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