tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r883146 - /tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java
Date Sun, 22 Nov 2009 20:49:07 GMT
Author: markt
Date: Sun Nov 22 20:49:04 2009
New Revision: 883146

URL: http://svn.apache.org/viewvc?rev=883146&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47453
Need to be able to override metadata complete if set in the global web.xml
Patch provided by Keiichi Fujino

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java?rev=883146&r1=883145&r2=883146&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java Sun Nov 22 20:49:04 2009
@@ -962,6 +962,8 @@
         String value = attributes.getValue("metadata-complete");
         if ("true".equals(value)) {
             webxml.setMetadataComplete(true);
+        } else if ("false".equals(value)) {
+            webxml.setMetadataComplete(false);
         }
         if (digester.getLogger().isDebugEnabled()) {
             digester.getLogger().debug



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


Mime
View raw message