Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix modernization issues
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
databroker
/
actors
/
dds
/
GetClientRequest.java
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 db9142474720fea4b37d8cc55a85e686afc5a14f..7d9d74d8ea5ede282c50d7d149072b12e59cd99a 100644
(file)
--- 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,8
+7,9
@@
*/
package org.opendaylight.controller.cluster.databroker.actors.dds;
*/
package org.opendaylight.controller.cluster.databroker.actors.dds;
+import static java.util.Objects.requireNonNull;
+
import akka.actor.ActorRef;
import akka.actor.ActorRef;
-import com.google.common.base.Preconditions;
/**
* Request the ClientIdentifier from a particular actor. Response is an instance of {@link DataStoreClient}.
/**
* Request the ClientIdentifier from a particular actor. Response is an instance of {@link DataStoreClient}.
@@
-19,7
+20,7
@@
final class GetClientRequest {
private final ActorRef replyTo;
GetClientRequest(final ActorRef replyTo) {
private final ActorRef replyTo;
GetClientRequest(final ActorRef replyTo) {
- this.replyTo =
Preconditions.checkNot
Null(replyTo);
+ this.replyTo =
requireNon
Null(replyTo);
}
ActorRef getReplyTo() {
}
ActorRef getReplyTo() {