Fix broken unit test, openwire.v*.WireFormatInfoTest max property size not set correctly.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-01-04 16:22:32 +00:00
parent cbee1cc147
commit f3407fe4b2
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public final class MarshallingSupport {
}
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, int maxPropertySize) throws IOException {
return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, false);
return unmarshalPrimitiveMap(in, maxPropertySize, false);
}
/**
@ -106,7 +106,7 @@ public final class MarshallingSupport {
}
}
public static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException {
public static void marshalPrimitiveList(List<Object> list, DataOutputStream out) throws IOException {
out.writeInt(list.size());
for (Object element : list) {
marshalPrimitive(out, element);