Migrate from YangInstanceIdentifier.EMPTY
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / utils / ForwardingActor.java
index 92c6349ba6ac353d35ebf827b765574d9356e17a..64631fe42f62468f875e813295e2e8b9cbf603f7 100644 (file)
@@ -5,13 +5,12 @@
  * 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.datastore.utils;
 
 import akka.actor.ActorRef;
-import akka.actor.UntypedActor;
+import akka.actor.UntypedAbstractActor;
 
-public final class ForwardingActor extends UntypedActor {
+public final class ForwardingActor extends UntypedAbstractActor {
     private final ActorRef target;
 
     private ForwardingActor(final ActorRef target) {
@@ -19,8 +18,7 @@ public final class ForwardingActor extends UntypedActor {
     }
 
     @Override
-    public void onReceive(final Object obj) throws Exception {
+    public void onReceive(final Object obj) {
         target.forward(obj, context());
     }
-
 }