diff options
| author | Robert Gemmell <robbie@apache.org> | 2012-02-20 23:21:27 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2012-02-20 23:21:27 +0000 |
| commit | b02119c77ee34b69a0da117a15b89d9b24ff2217 (patch) | |
| tree | 6cd57d25ebd6c5d431ba1d1465605bacb804f2f1 | |
| parent | 9af43abfd80dd63056e0e3422d13f8246965570c (diff) | |
| download | qpid-python-b02119c77ee34b69a0da117a15b89d9b24ff2217.tar.gz | |
QPID-2750: remove erroneous assert about 'LongString' lengths
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291518 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java b/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java index 6d05c2fd3a..1ecd8a13b7 100644 --- a/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java +++ b/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java @@ -264,7 +264,6 @@ public class EncodingUtils public static void writeLongStringBytes(DataOutput buffer, String s) throws IOException { - assert (s == null) || (s.length() <= 0xFFFE); if (s != null) { int len = s.length(); @@ -286,7 +285,6 @@ public class EncodingUtils public static void writeLongStringBytes(DataOutput buffer, char[] s) throws IOException { - assert (s == null) || (s.length <= 0xFFFE); if (s != null) { int len = s.length; @@ -307,7 +305,6 @@ public class EncodingUtils public static void writeLongStringBytes(DataOutput buffer, byte[] bytes) throws IOException { - assert (bytes == null) || (bytes.length <= 0xFFFE); if (bytes != null) { writeUnsignedInteger(buffer, bytes.length); |
