https://issues.apache.org/jira/browse/AMQ-3316 - Memory leak in ConnectionStateTracker with MessagePull objects. resolve typo

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-05-11 19:01:04 +00:00
parent a1c19c5e49
commit e8d45cb2d0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class ConnectionStateTracker extends CommandVisitorAdapter {
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;
}
}