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/03/04 20:06:08 UTC

activemq-artemis git commit: test fix

Repository: activemq-artemis
Updated Branches:
  refs/heads/artemis-1009 1b9125f8b -> 7234cb411


test fix


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/7234cb41
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/7234cb41
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/7234cb41

Branch: refs/heads/artemis-1009
Commit: 7234cb411ee9bf5d72229b1e14dfc96a49bdef69
Parents: 1b9125f
Author: Clebert Suconic <cl...@apache.org>
Authored: Sat Mar 4 15:06:05 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Sat Mar 4 15:06:05 2017 -0500

----------------------------------------------------------------------
 .../activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7234cb41/artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java
----------------------------------------------------------------------
diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java
index b2660fa..92314e2 100644
--- a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java
+++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/ChannelBufferWrapper.java
@@ -100,7 +100,8 @@ public class ChannelBufferWrapper implements ActiveMQBuffer {
       } else if (len < 0xfff) {
          return readUTF();
       } else {
-         return SimpleString.readNullableSimpleString(buffer).toString();
+         return SimpleString.readSimpleString(buffer).toString();
+
       }
    }