Copy/paste error. Sorry for the noise.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 6 Jun 2010 18:42:12 +0000 (18:42 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 6 Jun 2010 18:42:12 +0000 (18:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@951925 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/ApplicationContext.java

index 5610765..aa662d5 100644 (file)
@@ -101,13 +101,13 @@ public class ApplicationContext
     static {
         STRICT_SERVLET_COMPLIANCE = Globals.STRICT_SERVLET_COMPLIANCE;
         
-        String activityCheck = System.getProperty(
+        String requireSlash = System.getProperty(
                 "org.apache.catalina.core.ApplicationContext.GET_RESOURCE_REQUIRE_SLASH");
-        if (activityCheck == null) {
+        if (requireSlash == null) {
             GET_RESOURCE_REQUIRE_SLASH = STRICT_SERVLET_COMPLIANCE;
         } else {
             GET_RESOURCE_REQUIRE_SLASH =
-                Boolean.valueOf(activityCheck).booleanValue();
+                Boolean.valueOf(requireSlash).booleanValue();
         }
     }