*/
package org.opendaylight.controller.cluster.access.concepts;
+import static java.util.Objects.requireNonNull;
+
import com.google.common.base.MoreObjects;
-import com.google.common.base.Preconditions;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.Externalizable;
}
Proxy(final ClientIdentifier frontendId, final long historyId, final long cookie) {
- this.clientId = Preconditions.checkNotNull(frontendId);
+ this.clientId = requireNonNull(frontendId);
this.historyId = historyId;
this.cookie = cookie;
}
}
public LocalHistoryIdentifier(final ClientIdentifier frontendId, final long historyId, final long cookie) {
- this.clientId = Preconditions.checkNotNull(frontendId);
+ this.clientId = requireNonNull(frontendId);
this.historyId = historyId;
this.cookie = cookie;
}