Migrate to UntypedAbstractActor
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / utils / EchoActor.java
index 1a730f90764e733f1fa0bcc7e3fc259bf2d8f51f..bd0c6bf4e3b9178d7145abcc034e4e1e17674310 100644 (file)
@@ -5,18 +5,16 @@
  * 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;
 
 /**
  * The EchoActor simply responds back with the same message that it receives.
  */
-public class EchoActor extends UntypedActor {
-
+public class EchoActor extends UntypedAbstractActor {
     @Override
-    public void onReceive(Object message) {
+    public void onReceive(final Object message) {
         getSender().tell(message, getSelf());
     }
 }