From: Robert Varga Date: Mon, 12 Oct 2020 13:23:55 +0000 (+0200) Subject: Correct javadoc reference X-Git-Tag: v3.0.1~5 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=3bdf1493c0ce4218a1a3e26cdf7c5c4af1d2aeeb;ds=sidebyside Correct javadoc reference We should not be referencing UntypedActor, but rather AbstractActor. Change-Id: I6f17d818e2c03c9c4a9e0df26317212f28425734 Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java index a49bc30427..30331930d6 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java @@ -16,7 +16,7 @@ import scala.runtime.AbstractPartialFunction; import scala.runtime.BoxedUnit; /** - * Represents behaviour that can be exhibited by actors of type {@link akka.actor.UntypedActor} + * Represents behaviour that can be exhibited by actors of type {@link AbstractActor} * *

* This behaviour meters actor's default behaviour. It captures 2 metrics: @@ -79,7 +79,7 @@ public class MeteringBehavior extends AbstractPartialFunction * @param message the message to process */ @Override - public BoxedUnit apply(Object message) { + public BoxedUnit apply(final Object message) { final String messageType = message.getClass().getSimpleName(); final String msgProcessingTimeByMsgType = MetricRegistry.name(actorQualifiedName, MSG_PROCESSING_RATE, messageType);