Change InstallSnapshot and reply to use Externalizable Proxy
[controller.git] / opendaylight / md-sal / sal-dummy-distributed-datastore / src / main / java / org / opendaylight / controller / dummy / datastore / DummyShard.java
index ad7836347d27578f6801dfec643834cab4a76f7a..2cd5b97ceb45c3b9c2755337ce09f06932fc93ca 100644 (file)
@@ -45,9 +45,6 @@ public class DummyShard extends UntypedActor{
             sender().tell(new RequestVoteReply(req.getTerm(), true), self());
         } else if(o instanceof AppendEntries) {
             handleAppendEntries((AppendEntries)o);
-        } else if(InstallSnapshot.isSerializedType(o)) {
-            InstallSnapshot req = InstallSnapshot.fromSerializable(o);
-            handleInstallSnapshot(req);
         } else if(o instanceof InstallSnapshot){
             handleInstallSnapshot((InstallSnapshot) o);
         } else {