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 2021/09/23 09:01:50 UTC

[tomcat] branch main updated: Add version number

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 ca11d56  Add version number
ca11d56 is described below

commit ca11d5650cafd197190e950d0e05e8ddf87482dd
Author: remm <re...@apache.org>
AuthorDate: Thu Sep 23 11:01:27 2021 +0200

    Add version number
---
 java/org/apache/tomcat/util/descriptor/web/WebXml.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/java/org/apache/tomcat/util/descriptor/web/WebXml.java b/java/org/apache/tomcat/util/descriptor/web/WebXml.java
index 4708f7c..8cba46f 100644
--- a/java/org/apache/tomcat/util/descriptor/web/WebXml.java
+++ b/java/org/apache/tomcat/util/descriptor/web/WebXml.java
@@ -186,6 +186,10 @@ public class WebXml extends XmlEncodingBase implements DocumentProperties.Charse
                 majorVersion = 5;
                 minorVersion = 0;
                 break;
+            case "6.0":
+                majorVersion = 6;
+                minorVersion = 0;
+                break;
             default:
                 log.warn(sm.getString("webXml.version.unknown", version));
         }

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