You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2021/12/14 14:31:17 UTC
[qpid-jms] 09/16: QPIDJMS-544: log the variable value rather than constant, ensure correctness should the former ever be updated, tweak message for clarity
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch 0.x
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git
commit f7dee1b407ef6b8f6939c4569581a8c9eda63195
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Mon Jul 26 11:08:55 2021 +0100
QPIDJMS-544: log the variable value rather than constant, ensure correctness should the former ever be updated, tweak message for clarity
(cherry picked from commit f5f3cd95e3e7909af45a8e3532b9bb0adea9760a)
---
.../main/java/org/apache/qpid/jms/policy/JmsDefaultPrefetchPolicy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/policy/JmsDefaultPrefetchPolicy.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/policy/JmsDefaultPrefetchPolicy.java
index c01da2c..df1fde7 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/policy/JmsDefaultPrefetchPolicy.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/policy/JmsDefaultPrefetchPolicy.java
@@ -220,7 +220,7 @@ public class JmsDefaultPrefetchPolicy implements JmsPrefetchPolicy {
private int getMaxPrefetchLimit(int value) {
int result = Math.min(value, maxPrefetchSize);
if (result < value) {
- LOG.warn("maximum prefetch limit has been reset from " + value + " to " + MAX_PREFETCH_SIZE);
+ LOG.warn("prefetch limit has been reset from " + value + " to the maximum " + maxPrefetchSize);
}
return result;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org