mirror of https://github.com/apache/activemq.git
update for: https://issues.apache.org/jira/browse/AMQ-4180 remove debug code
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1410583 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
543935b6e9
commit
6f0a3355c4
|
@ -96,7 +96,6 @@ public final class MarshallingSupport {
|
|||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException {
|
||||
|
@ -183,25 +182,17 @@ public final class MarshallingSupport {
|
|||
in.readFully((byte[])value);
|
||||
break;
|
||||
case STRING_TYPE: {
|
||||
if (true) {
|
||||
int length = in.readUnsignedShort();
|
||||
byte data[] = new byte[length];
|
||||
in.readFully(data);
|
||||
value = new UTF8Buffer(data);
|
||||
} else {
|
||||
value = in.readUTF();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BIG_STRING_TYPE: {
|
||||
if (true) {
|
||||
int length = in.readInt();
|
||||
byte data[] = new byte[length];
|
||||
in.readFully(data);
|
||||
value = new UTF8Buffer(data);
|
||||
} else {
|
||||
value = readUTF8(in);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MAP_TYPE:
|
||||
|
|
Loading…
Reference in New Issue