[tomcat] branch master updated: Fix SpotBugs warnings. No functional change.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[tomcat] branch master updated: Fix SpotBugs warnings. No functional change.

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

markt 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 5b39622  Fix SpotBugs warnings. No functional change.
5b39622 is described below

commit 5b396227db707addc5fd9cc92494a29fefdf47ed
Author: Mark Thomas <[hidden email]>
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 5923bd4..1aee547 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: [hidden email]
For additional commands, e-mail: [hidden email]