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:25:51 UTC

[tomcat] branch master updated: Tab police

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

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 093de0b  Tab police
093de0b is described below

commit 093de0b8881fefaef7ed462ece820cf52bfa902c
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 4a8adc3..efeb968 100644
--- a/java/org/apache/catalina/core/DefaultInstanceManager.java
+++ b/java/org/apache/catalina/core/DefaultInstanceManager.java
@@ -444,8 +444,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 4e97140..ebee177 100644
--- a/test/org/apache/tomcat/unittest/TesterContext.java
+++ b/test/org/apache/tomcat/unittest/TesterContext.java
@@ -101,8 +101,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


Re: [tomcat] branch master updated: Tab police

Posted by Mark Thomas <ma...@apache.org>.
On 22/04/2020 16:25, remm@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> remm pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
> 
> 
> The following commit(s) were added to refs/heads/master by this push:
>      new 093de0b  Tab police
> 093de0b is described below
> 
> commit 093de0b8881fefaef7ed462ece820cf52bfa902c
> Author: remm <re...@apache.org>
> AuthorDate: Wed Apr 22 17:25:35 2020 +0200
> 
>     Tab police

Thanks for catching this.

Mark

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