tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1547846 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Date Wed, 04 Dec 2013 17:16:47 GMT
Author: markt
Date: Wed Dec  4 17:16:46 2013
New Revision: 1547846

URL: http://svn.apache.org/r1547846
Log:
Fix unboxing warning

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?rev=1547846&r1=1547845&r2=1547846&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java Wed Dec
 4 17:16:46 2013
@@ -277,7 +277,7 @@ public abstract class AbstractReplicated
             Member[] members = mapMembers.keySet().toArray(new Member[mapMembers.size()]);
             long now = System.currentTimeMillis();
             for (Member member : members) {
-                long access = mapMembers.get(member);
+                long access = mapMembers.get(member).longValue();
                 if ( (now - access) > timeout ) {
                     memberDisappeared(member);
                 }



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


Mime
View raw message