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
The following commit(s) were added to refs/heads/main by this push:
new cb6d461098 Remove a duplicate log level check.
cb6d461098 is described below
commit cb6d461098a46924035fc4c00a25ce40cc46b544
Author: asuka1975 <[email protected]>
AuthorDate: Fri Aug 8 23:57:43 2025 +0900
Remove a duplicate log level check.
---
java/org/apache/catalina/storeconfig/LoaderSF.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/java/org/apache/catalina/storeconfig/LoaderSF.java
b/java/org/apache/catalina/storeconfig/LoaderSF.java
index 26c139029c..11cbdc2839 100644
--- a/java/org/apache/catalina/storeconfig/LoaderSF.java
+++ b/java/org/apache/catalina/storeconfig/LoaderSF.java
@@ -44,9 +44,7 @@ public class LoaderSF extends StoreFactoryBase {
}
} else {
if (log.isWarnEnabled()) {
- if (log.isWarnEnabled()) {
- log.warn(sm.getString("factory.storeNoDescriptor",
aElement.getClass()));
- }
+ log.warn(sm.getString("factory.storeNoDescriptor",
aElement.getClass()));
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]