activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1102023 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java
Date Wed, 11 May 2011 19:01:04 GMT
Author: gtully
Date: Wed May 11 19:01:04 2011
New Revision: 1102023

URL: http://svn.apache.org/viewvc?rev=1102023&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3316 - Memory leak in ConnectionStateTracker with
MessagePull objects. resolve typo

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java?rev=1102023&r1=1102022&r2=1102023&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/state/ConnectionStateTracker.java
Wed May 11 19:01:04 2011
@@ -78,7 +78,7 @@ public class ConnectionStateTracker exte
             if (result) {
                 if (eldest.getValue() instanceof Message) {
                     currentCacheSize -= ((Message)eldest.getValue()).getSize();
-                } else if (eldest.getValue() instance of MessagePull) {
+                } else if (eldest.getValue() instanceof MessagePull) {
                     currentCacheSize -= 400;
                 }
             }



Mime
View raw message