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;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException {
|
public static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException {
|
||||||
|
@ -183,25 +182,17 @@ public final class MarshallingSupport {
|
||||||
in.readFully((byte[])value);
|
in.readFully((byte[])value);
|
||||||
break;
|
break;
|
||||||
case STRING_TYPE: {
|
case STRING_TYPE: {
|
||||||
if (true) {
|
|
||||||
int length = in.readUnsignedShort();
|
int length = in.readUnsignedShort();
|
||||||
byte data[] = new byte[length];
|
byte data[] = new byte[length];
|
||||||
in.readFully(data);
|
in.readFully(data);
|
||||||
value = new UTF8Buffer(data);
|
value = new UTF8Buffer(data);
|
||||||
} else {
|
|
||||||
value = in.readUTF();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case BIG_STRING_TYPE: {
|
case BIG_STRING_TYPE: {
|
||||||
if (true) {
|
|
||||||
int length = in.readInt();
|
int length = in.readInt();
|
||||||
byte data[] = new byte[length];
|
byte data[] = new byte[length];
|
||||||
in.readFully(data);
|
in.readFully(data);
|
||||||
value = new UTF8Buffer(data);
|
value = new UTF8Buffer(data);
|
||||||
} else {
|
|
||||||
value = readUTF8(in);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MAP_TYPE:
|
case MAP_TYPE:
|
||||||
|
|
Loading…
Reference in New Issue