Bump upstreams for Silicon
[neutron.git] / neutron-hostconfig / vpp / src / main / java / org / opendaylight / neutron / hostconfig / vpp / SocketInfo.java
index 5c07fefd664249697de59ed5200bffbec4d58b0c..07cfdeedf2f9257ee0230138143bfb10b0b4e6c2 100644 (file)
@@ -5,10 +5,9 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.neutron.hostconfig.vpp;
 
-import com.google.common.base.Preconditions;
+import static java.util.Objects.requireNonNull;
 
 public class SocketInfo {
 
@@ -18,9 +17,9 @@ public class SocketInfo {
     private static final String PORT_ID = "$PORT_ID";
 
     public SocketInfo(String socketPath, String socketPrefix, String vhostuserMode) {
-        this.socketPath = Preconditions.checkNotNull(socketPath);
-        this.socketPrefix = Preconditions.checkNotNull(socketPrefix);
-        this.vhostuserMode = Preconditions.checkNotNull(vhostuserMode);
+        this.socketPath = requireNonNull(socketPath);
+        this.socketPrefix = requireNonNull(socketPrefix);
+        this.vhostuserMode = requireNonNull(vhostuserMode);
     }
 
     public String getSocketPath() {