You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/08/23 13:06:58 UTC
activemq-artemis git commit: ARTEMIS-1356 Fixing assertion logic
Repository: activemq-artemis
Updated Branches:
refs/heads/master d6aed2528 -> aa2f0b9f1
ARTEMIS-1356 Fixing assertion logic
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/aa2f0b9f
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/aa2f0b9f
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/aa2f0b9f
Branch: refs/heads/master
Commit: aa2f0b9f1730c788bbeeadddf3c082fe3f1f675d
Parents: d6aed25
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Aug 23 09:05:36 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Aug 23 09:05:36 2017 -0400
----------------------------------------------------------------------
.../artemis/core/protocol/core/ServerSessionPacketHandler.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/aa2f0b9f/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java
index 58518a9..7deb47e 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java
@@ -231,7 +231,7 @@ public class ServerSessionPacketHandler implements ChannelHandler {
}
private static void onStartMessagePacketHandler() {
- assert inHandler.get() != null : "recursion on packet handling is not supported";
+ assert inHandler.get() == null : "recursion on packet handling is not supported";
inHandler.set(DUMMY);
}
@@ -243,7 +243,7 @@ public class ServerSessionPacketHandler implements ChannelHandler {
}
private static void onExitMessagePacketHandler() {
- assert inHandler.get() == null : "marker not set";
+ assert inHandler.get() != null : "marker not set";
inHandler.set(null);
}