You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2018/05/09 11:18:00 UTC
activemq git commit: AMQ-6707 - fix trace log reporting in error
Repository: activemq
Updated Branches:
refs/heads/master b29d2ea34 -> c1e7dbd53
AMQ-6707 - fix trace log reporting in error
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/c1e7dbd5
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/c1e7dbd5
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/c1e7dbd5
Branch: refs/heads/master
Commit: c1e7dbd53bfefd8fad42d397800386048701e61d
Parents: b29d2ea
Author: gtully <ga...@gmail.com>
Authored: Wed May 9 12:17:29 2018 +0100
Committer: gtully <ga...@gmail.com>
Committed: Wed May 9 12:17:29 2018 +0100
----------------------------------------------------------------------
.../apache/activemq/broker/region/cursors/AbstractStoreCursor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/c1e7dbd5/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java b/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
index b5c560b..03b412f 100644
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
@@ -384,7 +384,7 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
} else if (candidateOrSequenceLong != null &&
Long.compare(((Long) candidateOrSequenceLong), ((Long) lastCacheFutureOrSequenceLong)) > 0) {
lastCachedIds[index] = candidate;
- } if (LOG.isTraceEnabled()) {
+ } else if (LOG.isTraceEnabled()) {
LOG.trace("no set last cached[" + index + "] current:" + lastCacheFutureOrSequenceLong + " <= than candidate: " + candidateOrSequenceLong+ ", " + this);
}
}