Author: fhanik Date: Thu Feb 23 04:08:14 2006 New Revision: 380100 URL: http://svn.apache.org/viewcvs?rev=380100&view=rev Log: Correct formatting
Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java?rev=380100&r1=380099&r2=380100&view=diff ============================================================================== --- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java (original) +++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java Thu Feb 23 04:08:14 2006 @@ -1069,29 +1069,29 @@ * @param session cross context session */ protected void registerSessionAtReplicationValve(DeltaSession session) { - if(replicationValve == null) { - if(container instanceof StandardContext - && ((StandardContext)container).getCrossContext()) { - Cluster cluster = getCluster() ; - if(cluster != null && cluster instanceof CatalinaCluster) { - Valve[] valves = ((CatalinaCluster)cluster).getValves(); - if(valves != null && valves.length > 0) { - for(int i=0; replicationValve == null && i < valves.length ; i++ ){ - if(valves[i] instanceof ReplicationValve) - replicationValve = (ReplicationValve)valves[i] ; - } - - if(replicationValve == null && log.isDebugEnabled()) { - log.debug("no ReplicationValve found for CrossContext Support"); - } - } - } - } - } - if(replicationValve != null) { - replicationValve.registerReplicationSession(session); - } - } + if(replicationValve == null) { + if(container instanceof StandardContext + && ((StandardContext)container).getCrossContext()) { + Cluster cluster = getCluster() ; + if(cluster != null && cluster instanceof CatalinaCluster) { + Valve[] valves = ((CatalinaCluster)cluster).getValves(); + if(valves != null && valves.length > 0) { + for(int i=0; replicationValve == null && i < valves.length ; i++ ){ + if(valves[i] instanceof ReplicationValve) + replicationValve = (ReplicationValve)valves[i] ; + } + + if(replicationValve == null && log.isDebugEnabled()) { + log.debug("no ReplicationValve found for CrossContext Support"); + } + } + } + } + } + if(replicationValve != null) { + replicationValve.registerReplicationSession(session); + } + } /** * Find the master of the session state --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]