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 2020/10/16 08:29:16 UTC
[tomcat] branch 8.5.x updated: Fix SpotBugs warnings. No functional
change.
This is an automated email from the ASF dual-hosted git repository.
markt 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 2670bb3 Fix SpotBugs warnings. No functional change.
2670bb3 is described below
commit 2670bb36d60b8f86876e06acb5c65498ac47bdcc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Oct 16 09:28:04 2020 +0100
Fix SpotBugs warnings. No functional change.
---
test/org/apache/catalina/startup/TestMultipartConfig.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/startup/TestMultipartConfig.java b/test/org/apache/catalina/startup/TestMultipartConfig.java
index 164ed1a..a981d24 100644
--- a/test/org/apache/catalina/startup/TestMultipartConfig.java
+++ b/test/org/apache/catalina/startup/TestMultipartConfig.java
@@ -164,7 +164,6 @@ public class TestMultipartConfig {
Container parent = new StandardHost();
parent.setParent(engine);
super.context.setParent(parent);
- context.getState().equals(LifecycleState.STARTING_PREP);
}
public Context getContext() {
return super.context;
@@ -175,7 +174,7 @@ public class TestMultipartConfig {
private volatile LifecycleState state;
@Override
- public LifecycleState getState() {
+ public synchronized LifecycleState getState() {
return state;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org