From 70b8fa5bcb2116ef281537934b4b141cb089f4d7 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 2 Dec 2009 18:00:40 +0000 Subject: [PATCH] Remove use of deprecated code git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@886227 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/startup/Catalina.java | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) 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() { -- 2.11.0