AMQ-6707 - fix trace log reporting in error

This commit is contained in:
gtully 2018-05-09 12:17:29 +01:00
parent b29d2ea342
commit c1e7dbd53b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}