- public static DeleteModification fromSerializable(Object serializable) {
- PersistentMessages.Modification o = (PersistentMessages.Modification) serializable;
- return new DeleteModification(InstanceIdentifierUtils.fromSerializable(o.getPath()));
- }
-
- public static DeleteModification fromStream(ObjectInput in) throws ClassNotFoundException, IOException {
- DeleteModification mod = new DeleteModification();
+ public static DeleteModification fromStream(final ObjectInput in, final short version) {
+ DeleteModification mod = new DeleteModification(version);