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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]