X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Futils%2FForwardingActor.java;h=64631fe42f62468f875e813295e2e8b9cbf603f7;hb=9b319f491af1c65705b69e8a182aab5006a2f959;hp=92c6349ba6ac353d35ebf827b765574d9356e17a;hpb=2d60632f7cf63712e8357a3cf3fc40d83366e5e6;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ForwardingActor.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ForwardingActor.java index 92c6349ba6..64631fe42f 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ForwardingActor.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ForwardingActor.java @@ -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()); } - }