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:28:59 UTC

[tomcat] branch 9.0.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 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 aed7155  Fix SpotBugs warnings. No functional change.
aed7155 is described below

commit aed7155ed9638574c553464f4bfa0337dbc8d78b
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