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 2012/01/29 20:29:50 UTC
svn commit: r1237425 -
/tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
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