From 560d8b3766442062d54dfda4b74f556f8b8c982b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kv=C3=ADdera?= Date: Sun, 9 Feb 2020 12:02:54 +0100 Subject: [PATCH] #4281 Removed commented code --- .../org/apache/catalina/session/StandardSession.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/appserver/web/web-core/src/main/java/org/apache/catalina/session/StandardSession.java b/appserver/web/web-core/src/main/java/org/apache/catalina/session/StandardSession.java index 61acac21c62..e1668a69e27 100644 --- a/appserver/web/web-core/src/main/java/org/apache/catalina/session/StandardSession.java +++ b/appserver/web/web-core/src/main/java/org/apache/catalina/session/StandardSession.java @@ -713,15 +713,6 @@ public boolean isValid() { return true; } - /* SJSAS 6329289 - if (maxInactiveInterval >= 0) { - long timeNow = System.currentTimeMillis(); - int timeIdle = (int) ((timeNow - thisAccessedTime) / 1000L); - if (timeIdle >= maxInactiveInterval) { - expire(true); - } - } - */ // START SJSAS 6329289 if (hasExpired()) { expire(true);