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 | db1de2e62e53a8967c75829accdbfc127d0f3acf (patch) | |
| tree | e56a31794c31daf0ca56c9c00b1a359e6c4d1a7a /qpid/java/common | |
| parent | f15b75547f4bf6e61b94a109ff63253be1435a61 (diff) | |
| download | qpid-python-db1de2e62e53a8967c75829accdbfc127d0f3acf.tar.gz | |
QPID-2750: remove erroneous assert about 'LongString' lengths
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
| -rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java b/qpid/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java index 6d05c2fd3a..1ecd8a13b7 100644 --- a/qpid/java/common/src/main/java/org/apache/qpid/framing/EncodingUtils.java +++ b/qpid/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); |
