remm 2003/06/15 00:42:51
Modified: catalina/src/share/org/apache/catalina/core
StandardHostDeployer.java
Log:
- Address bug 20758.
- Remove apparently useless reference.
Revision Changes Path
1.10 +2 -10
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java
Index: StandardHostDeployer.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- StandardHostDeployer.java 10 Jun 2003 20:03:42 -0000 1.9
+++ StandardHostDeployer.java 15 Jun 2003 07:42:51 -0000 1.10
@@ -123,13 +123,6 @@
/**
- * The <code>Context</code> that was added via a call to
- * <code>addChild()</code> while parsing the configuration descriptor.
- */
- private Context context = null;
-
-
- /**
* The <code>ContextRuleSet</code> associated with our
* <code>digester</code> instance.
*/
@@ -493,7 +486,6 @@
}
// Install the new web application
- this.context = null;
this.overrideDocBase = docBase;
InputStream stream = null;
try {
@@ -800,7 +792,7 @@
*/
public void addChild(Container child) {
- context = (Context) child;
+ Context context = (Context) child;
String contextPath = context.getPath();
if (contextPath == null)
throw new IllegalArgumentException
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]