This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-jms.git
The following commit(s) were added to refs/heads/main by this push: new f5f3cd9 QPIDJMS-544: log the variable value rather than constant, ensure correctness should the former ever be updated, tweak message for clarity f5f3cd9 is described below commit f5f3cd95e3e7909af45a8e3532b9bb0adea9760a Author: Robbie Gemmell <rob...@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 --- .../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-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org