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 2024/06/26 13:11:59 UTC

(tomcat) 01/02: Fix IDE warning

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

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

commit b18013d0c82e6a47fa6e71af0903946a0f729089
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 26 13:49:12 2024 +0100

    Fix IDE warning
---
 test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java b/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
index 3a8145ff0d..aa429ca917 100644
--- a/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
+++ b/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
@@ -98,6 +98,7 @@ public class TestOpenSSLConf extends TomcatBaseTest {
             StandardServer server = (StandardServer) tomcat.getServer();
             server.addLifecycleListener(listener);
         }
+        Assert.assertNotNull("Test configuragiton error: Invalid sslImplementationName", listener);
         // Initialize only the listener as the OpenSSL version is not available before
         listener.lifecycleEvent(new LifecycleEvent(tomcat.getServer(), Lifecycle.BEFORE_INIT_EVENT, null));
     }


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