Commit b7c73e0f authored by David Feliot's avatar David Feliot
Browse files

Bug fixed.

parent 1d1b0ea8
......@@ -142,6 +142,11 @@ public class MessageIdListImpl implements MessageIdList, Encodable,
}
}
@Override
public String toString() {
return "MessageIdListImpl [listId=" + listId + ", list=" + list + "]";
}
public static class MessageIdListImplEncodableFactory implements EncodableFactory {
public Encodable createEncodable() {
......
......@@ -36,7 +36,9 @@ public class MessageIdListImplFactory extends MessageIdListFactory {
public MessageIdList loadMessageIdList(String listId) throws Exception {
// TODO: as we know the type, the method 'loadByteArray' would be more efficient
MessageIdListImpl res = (MessageIdListImpl) AgentServer.getTransaction().load(listId);
res.setListId(listId);
if (res != null) {
res.setListId(listId);
}
return res;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment