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 3f54c6c304 Empty value is ok
3f54c6c304 is described below
commit 3f54c6c3046fa2e202029e20800dc4d7a7da7c9e
Author: remm <[email protected]>
AuthorDate: Thu Nov 14 14:09:01 2024 +0100
Empty value is ok
---
java/org/apache/catalina/storeconfig/SSLHostConfigSF.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/java/org/apache/catalina/storeconfig/SSLHostConfigSF.java
b/java/org/apache/catalina/storeconfig/SSLHostConfigSF.java
index ea6344fd79..4fa6f06722 100644
--- a/java/org/apache/catalina/storeconfig/SSLHostConfigSF.java
+++ b/java/org/apache/catalina/storeconfig/SSLHostConfigSF.java
@@ -52,9 +52,7 @@ public class SSLHostConfigSF extends StoreFactoryBase {
for (String protocol : sslHostConfig.getProtocols()) {
protocolsValue.append('+').append(protocol);
}
- if (!protocolsValue.isEmpty()) {
- getStoreAppender().printValue(aWriter, indent,
"protocols", protocolsValue.toString());
- }
+ getStoreAppender().printValue(aWriter, indent,
"protocols", protocolsValue.toString());
}
getStoreAppender().printAttributes(aWriter, indent, aElement,
elementDesc);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]