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 2023/09/12 14:49:00 UTC

[tomcat] branch main updated: Fix the logic

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 e830bc357a Fix the logic
e830bc357a is described below

commit e830bc357ab3f15b2d94e5f422b431712e0b914e
Author: remm <re...@apache.org>
AuthorDate: Tue Sep 12 16:48:39 2023 +0200

    Fix the logic
---
 java/org/apache/catalina/startup/ContextConfig.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/catalina/startup/ContextConfig.java b/java/org/apache/catalina/startup/ContextConfig.java
index ffba96d9b3..7ca413e105 100644
--- a/java/org/apache/catalina/startup/ContextConfig.java
+++ b/java/org/apache/catalina/startup/ContextConfig.java
@@ -604,6 +604,7 @@ public class ContextConfig implements LifecycleListener {
                         if (contextXmlJavaSource != null) {
                             digester.startGeneratingCode();
                             generateClassHeader(digester, contextXmlPackageName, contextXmlSimpleClassName);
+                        } else {
                             generateCode = false;
                         }
                     }


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