[Quickfix-developers] [qfj] Message.clone() not copying groups
Brought to you by:
orenmnero
|
From: Brad H. <Bra...@gb...> - 2005-11-17 22:17:49
|
Hi,
The Message.clone() method isn't copying groups to the cloned message.
We updated FieldMap.initializeFrom to add the groups from the FieldMap
source and this seems to fix this problem.
protected void initializeFrom(FieldMap source) {
fields.clear();
fields.putAll(source.fields);
groups.clear();
groups.putAll(source.groups);
}
Using CVS head from 11 Nov.
Regards,
Brad.
|