tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1237425 - /tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
Date Sun, 29 Jan 2012 19:29:50 GMT
Author: markt
Date: Sun Jan 29 19:29:50 2012
New Revision: 1237425

URL: http://svn.apache.org/viewvc?rev=1237425&view=rev
Log:
Deprecate unused/unnecessary code

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

Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1237425&r1=1237424&r2=1237425&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Sun Jan 29 19:29:50 2012
@@ -241,7 +241,9 @@ public class ContextConfig implements Li
 
     /**
      * Return the location of the default context file
+     * @deprecated Never changed from default
      */
+    @Deprecated
     public String getDefaultContextXml() {
         if( defaultContextXml == null ) {
             defaultContextXml=Constants.DefaultContextXml;
@@ -256,7 +258,9 @@ public class ContextConfig implements Li
      * Set the location of the default context file
      *
      * @param path Absolute/relative path to the default context.xml
+     * @deprecated Unused
      */
+    @Deprecated
     public void setDefaultContextXml(String path) {
 
         this.defaultContextXml = path;



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


Mime
View raw message