Remove comment. jvmRoute replacement happens elsewhere
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 22 Feb 2010 21:45:35 +0000 (21:45 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 22 Feb 2010 21:45:35 +0000 (21:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915076 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/ManagerBase.java

index 6dd2c49..d0a35b3 100644 (file)
@@ -821,22 +821,6 @@ public abstract class ManagerBase implements Manager, MBeanRegistration {
         session.setMaxInactiveInterval(this.maxInactiveInterval);
         if (sessionId == null) {
             sessionId = generateSessionId();
-            // FIXME: Code to be used in case route replacement is needed
-            /*
-        } else {
-            String jvmRoute = getJvmRoute();
-            if (getJvmRoute() != null) {
-                String requestJvmRoute = null;
-                int index = sessionId.indexOf(".");
-                if (index > 0) {
-                    requestJvmRoute = sessionId
-                            .substring(index + 1, sessionId.length());
-                }
-                if (requestJvmRoute != null && !requestJvmRoute.equals(jvmRoute)) {
-                    sessionId = sessionId.substring(0, index) + "." + jvmRoute;
-                }
-            }
-            */
         }
         session.setId(sessionId);
         sessionCounter++;