tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r802143 - /tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
Date Fri, 07 Aug 2009 18:54:18 GMT
Author: markt
Date: Fri Aug  7 18:54:18 2009
New Revision: 802143

URL: http://svn.apache.org/viewvc?rev=802143&view=rev
Log:
Minor code clean-up

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java?rev=802143&r1=802142&r2=802143&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
(original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
Fri Aug  7 18:54:18 2009
@@ -109,7 +109,7 @@
      *            ClusterMessage - the message received from the cluster
      */
     public void messageReceived(ClusterMessage msg) {
-        if (msg instanceof SessionIDMessage && msg != null) {
+        if (msg instanceof SessionIDMessage) {
             SessionIDMessage sessionmsg = (SessionIDMessage) msg;
             if (log.isDebugEnabled())
                 log.debug(sm.getString(



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message