Migrate to UntypedAbstractActor
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / utils / DoNothingActor.java
index 4a73aadc197779acc4b992ec98e9f865d64deeb8..1080aadfe9c40c05c45db1db8aede93a7ec3f29b 100644 (file)
@@ -5,13 +5,13 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.actor.UntypedActor;
+import akka.actor.UntypedAbstractActor;
 
-public class DoNothingActor extends UntypedActor {
-    @Override public void onReceive(Object message) {
+public class DoNothingActor extends UntypedAbstractActor {
+    @Override
+    public void onReceive(final Object message) throws Exception {
 
     }
 }