You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by gl...@apache.org on 2003/01/04 14:44:37 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets ManagerServlet.java
glenn 2003/01/04 05:44:37
Modified: catalina/src/share/org/apache/catalina/servlets
ManagerServlet.java
Log:
Remove dead code
Revision Changes Path
1.5 +4 -6 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/ManagerServlet.java
Index: ManagerServlet.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/ManagerServlet.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ManagerServlet.java 8 Dec 2002 13:42:10 -0000 1.4
+++ ManagerServlet.java 4 Jan 2003 13:44:37 -0000 1.5
@@ -1103,7 +1103,6 @@
// Identify the appBase of the owning Host of this Context (if any)
String appBase = null;
File appBaseDir = null;
- String appBasePath = null;
if (context.getParent() instanceof Host) {
appBase = ((Host) context.getParent()).getAppBase();
appBaseDir = new File(appBase);
@@ -1111,7 +1110,6 @@
appBaseDir = new File(System.getProperty("catalina.base"),
appBase);
}
- appBasePath = appBaseDir.getCanonicalPath();
}
// Validate the docBase path of this application
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>