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 | 56ac5684ae8379de26dd38fc893fad51ec84e957 (patch) | |
| tree | 6cd57d25ebd6c5d431ba1d1465605bacb804f2f1 /java | |
| parent | cd3dac0e802c33169cc9af323a8294631750e2f3 (diff) | |
| download | qpid-python-56ac5684ae8379de26dd38fc893fad51ec84e957.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
Diffstat (limited to 'java')
| -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); |
