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:28:48 UTC
[tomcat] branch 8.5.x updated: Tab police
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 59b60b9 Tab police
59b60b9 is described below
commit 59b60b9d9bfd2bbd6863a7b707542fe21605f0c5
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 b7417d4..f67179b 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 306af1e..7a24e8e 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