X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatabroker%2Factors%2Fdds%2FGetClientRequest.java;h=7d9d74d8ea5ede282c50d7d149072b12e59cd99a;hb=abaef4a5ae37f27542155457fe7306a4662b1eeb;hp=4bfd1c4a601ef92d9b531c41e7d6c320efa56d43;hpb=d0621d28e507d9f6c0b9445d197f90253d34725d;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/GetClientRequest.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/GetClientRequest.java index 4bfd1c4a60..7d9d74d8ea 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/GetClientRequest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/GetClientRequest.java @@ -7,22 +7,23 @@ */ package org.opendaylight.controller.cluster.databroker.actors.dds; +import static java.util.Objects.requireNonNull; + import akka.actor.ActorRef; -import com.google.common.base.Preconditions; /** - * Request the ClientIdentifier from a particular actor. Response is an instance of {@link DistributedDataStoreClient}. + * Request the ClientIdentifier from a particular actor. Response is an instance of {@link DataStoreClient}. * * @author Robert Varga */ final class GetClientRequest { private final ActorRef replyTo; - public GetClientRequest(final ActorRef replyTo) { - this.replyTo = Preconditions.checkNotNull(replyTo); + GetClientRequest(final ActorRef replyTo) { + this.replyTo = requireNonNull(replyTo); } ActorRef getReplyTo() { return replyTo; } -} \ No newline at end of file +}