You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2025/10/10 08:52:59 UTC

(tomcat) branch main updated: Use constant

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9d7ec5dd81 Use constant
9d7ec5dd81 is described below

commit 9d7ec5dd81738c17655749e334f4d4408d56b108
Author: remm <re...@apache.org>
AuthorDate: Fri Oct 10 10:52:09 2025 +0200

    Use constant
---
 java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java b/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java
index fc35da5ee4..e3e6c12e29 100644
--- a/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java
+++ b/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java
@@ -85,7 +85,7 @@ public class SSLHostConfigCertificate implements Serializable {
     private StoreType storeType = null;
 
     public SSLHostConfigCertificate() {
-        this(null, Type.UNDEFINED);
+        this(null, DEFAULT_TYPE);
     }
 
     public SSLHostConfigCertificate(SSLHostConfig sslHostConfig, Type type) {


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