- I did not fix activity check correctly last time.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 19 Oct 2006 10:26:29 +0000 (10:26 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 19 Oct 2006 10:26:29 +0000 (10:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@465555 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/StandardSession.java

index fcec6ee..30f6cbe 100644 (file)
@@ -101,6 +101,11 @@ public class StandardSession
         super();
         this.manager = manager;
 
+        // Initialize access count
+        if (ACTIVITY_CHECK) {
+            accessCount = new AtomicInteger();
+        }
+
     }