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%2Fdatastore%2Fmessages%2FRegisterDataTreeNotificationListenerReply.java;h=7feb6c46e631f9a89a309e34cdc562358b88a4c1;hb=ddb1bd8badd0b3f7c76f969d2c6a6d0064216939;hp=7642a90c5f4efd6518e6f1145cb9bfe5f2f62a3b;hpb=e78622411319748472b5d9edab14eb6dc92cf6b1;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeNotificationListenerReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeNotificationListenerReply.java index 7642a90c5f..7feb6c46e6 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeNotificationListenerReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeNotificationListenerReply.java @@ -7,9 +7,10 @@ */ package org.opendaylight.controller.cluster.datastore.messages; +import static java.util.Objects.requireNonNull; + import akka.actor.ActorPath; import akka.actor.ActorRef; -import com.google.common.base.Preconditions; import java.io.Serializable; /** @@ -23,7 +24,7 @@ public class RegisterDataTreeNotificationListenerReply implements Serializable { private final ActorRef listenerRegistrationPath; public RegisterDataTreeNotificationListenerReply(final ActorRef listenerRegistrationPath) { - this.listenerRegistrationPath = Preconditions.checkNotNull(listenerRegistrationPath); + this.listenerRegistrationPath = requireNonNull(listenerRegistrationPath); } public ActorPath getListenerRegistrationPath() {