Bump odlparent/yangtools/mdsal
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / databroker / actors / dds / GetClientRequest.java
index 4bfd1c4a601ef92d9b531c41e7d6c320efa56d43..7d9d74d8ea5ede282c50d7d149072b12e59cd99a 100644 (file)
@@ -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
+}