You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2017/09/28 13:35:59 UTC

[02/12] qpid-broker-j git commit: QPID-7531: [Java Broker, AMQP 1.0] Fix String format arguments in error message.

QPID-7531: [Java Broker, AMQP 1.0] Fix String format arguments in error message.


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/d84509a0
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/d84509a0
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/d84509a0

Branch: refs/heads/master
Commit: d84509a0d4182c4264c987ab62f7dfea874a9aa9
Parents: 2632d13
Author: Lorenz Quack <lq...@apache.org>
Authored: Mon Sep 25 11:16:59 2017 +0100
Committer: Lorenz Quack <lq...@apache.org>
Committed: Thu Sep 28 14:30:17 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/d84509a0/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
----------------------------------------------------------------------
diff --git a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
index a78df1a..d0d24d7 100644
--- a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
+++ b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
@@ -400,8 +400,8 @@ public class Session_1_0 extends AbstractAMQPSession<Session_1_0, ConsumerTarget
             final End end = new End();
             end.setError(new Error(SessionError.WINDOW_VIOLATION,
                                    String.format("Next incoming id '%d' exceeds next outgoing id '%d'",
-                                                 flowNextIncomingId,
-                                                 _nextOutgoingId)));
+                                                 flowNextIncomingId.longValue(),
+                                                 _nextOutgoingId.longValue())));
             end(end);
         }
         else


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org