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 2023/06/01 09:33:42 UTC

[tomcat] branch 10.1.x updated: Non need for non-static inner class.

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

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 2afb5595cc Non need for non-static inner class.
2afb5595cc is described below

commit 2afb5595cc593f0a091bccc02ab9e0f9be5d1eb3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 1 10:33:34 2023 +0100

    Non need for non-static inner class.
---
 test/org/apache/catalina/valves/TestPersistentValve.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/valves/TestPersistentValve.java b/test/org/apache/catalina/valves/TestPersistentValve.java
index ad27db7be1..648c46dd8f 100644
--- a/test/org/apache/catalina/valves/TestPersistentValve.java
+++ b/test/org/apache/catalina/valves/TestPersistentValve.java
@@ -70,7 +70,7 @@ public class TestPersistentValve {
     }
 
 
-    private class TesterValve extends ValveBase {
+    private static class TesterValve extends ValveBase {
 
         private static AtomicInteger maximumConcurrency = new AtomicInteger();
         private static AtomicInteger concurrency = new AtomicInteger();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org