*/
package org.opendaylight.protocol.bgp.parser.impl.message.update;
+import static java.util.Objects.requireNonNull;
+
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
private static final AsPath EMPTY = new AsPathBuilder().setSegments(Collections.emptyList()).build();
public AsPathAttributeParser(final ReferenceCache refCache) {
- this.refCache = Preconditions.checkNotNull(refCache);
+ this.refCache = requireNonNull(refCache);
}
/**