You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/02/19 20:02:38 UTC

svn commit: r1731283 - /tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java

Author: markt
Date: Fri Feb 19 19:02:38 2016
New Revision: 1731283

URL: http://svn.apache.org/viewvc?rev=1731283&view=rev
Log:
Deprecate in preparation for removal

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java?rev=1731283&r1=1731282&r2=1731283&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/scan/Constants.java Fri Feb 19 19:02:38 2016
@@ -35,7 +35,10 @@ public final class Constants {
     public static final String WEB_INF_LIB = "/WEB-INF/lib/";
     public static final String WEB_INF_CLASSES = "/WEB-INF/classes";
 
-    /* Context attributes - used to pass short-cuts to Jasper */
+    /* Context attributes */
+    @Deprecated // Third party components should use standard Servlet API
+                // mechanisms such as a ServletContainerInitializer to access
+                // configuration information
     public static final String MERGED_WEB_XML =
         "org.apache.tomcat.util.scan.MergedWebXml";
 }



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