From: markt Date: Wed, 2 Dec 2009 18:00:40 +0000 (+0000) Subject: Remove use of deprecated code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=70b8fa5bcb2116ef281537934b4b141cb089f4d7;p=tomcat7.0 Remove use of deprecated code git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@886227 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/startup/Catalina.java b/java/org/apache/catalina/startup/Catalina.java index bc2e5d4b1..483ca7240 100644 --- a/java/org/apache/catalina/startup/Catalina.java +++ b/java/org/apache/catalina/startup/Catalina.java @@ -182,8 +182,7 @@ public class Catalina extends Embedded { public void process(String args[]) { setAwait(true); - setCatalinaHome(); - setCatalinaBase(); + initDirs(); try { if (arguments(args)) { if (starting) { @@ -442,26 +441,6 @@ public class Catalina extends Embedded { /** - * Set the catalina.base System property to the current - * working directory if it has not been set. - * @deprecated Use initDirs() - */ - @Deprecated - public void setCatalinaBase() { - initDirs(); - } - - /** - * Set the catalina.home System property to the current - * working directory if it has not been set. - * @deprecated Use initDirs() - */ - @Deprecated - public void setCatalinaHome() { - initDirs(); - } - - /** * Start a new server instance. */ public void load() {