mirror of https://github.com/apache/activemq.git
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:
parent
cbee1cc147
commit
f3407fe4b2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue