Commit c52f2cad authored by guus's avatar guus

As a result of TINDER-13, the JID class does no longer implement...

As a result of TINDER-13, the JID class does no longer implement Externalizable. Workaround implemented.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11202 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3f5ace43
......@@ -671,8 +671,8 @@ public class Group implements Cacheable, Externalizable {
if (description != null) {
ExternalizableUtil.getInstance().writeSafeUTF(out, description);
}
ExternalizableUtil.getInstance().writeExternalizableCollection(out, members);
ExternalizableUtil.getInstance().writeExternalizableCollection(out, administrators);
ExternalizableUtil.getInstance().writeSerializableCollection(out, members);
ExternalizableUtil.getInstance().writeSerializableCollection(out, administrators);
}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
......@@ -685,7 +685,7 @@ public class Group implements Cacheable, Externalizable {
}
members= new HashSet<JID>();
administrators = new HashSet<JID>();
ExternalizableUtil.getInstance().readExternalizableCollection(in, members, getClass().getClassLoader());
ExternalizableUtil.getInstance().readExternalizableCollection(in, administrators, getClass().getClassLoader());
ExternalizableUtil.getInstance().readSerializableCollection(in, members, getClass().getClassLoader());
ExternalizableUtil.getInstance().readSerializableCollection(in, administrators, getClass().getClassLoader());
}
}
\ No newline at end of file
Markdown is supported
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