*/
package org.opendaylight.mdsal.binding.javav2.dom.codec.generator.spi.source;
+import static java.util.Objects.requireNonNull;
+
import com.google.common.annotations.Beta;
-import com.google.common.base.Preconditions;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public AbstractDataNodeContainerSerializerSource(final AbstractGenerator generator, final GeneratedType type,
final DataNodeContainer node) {
super(generator);
- this.dtoType = Preconditions.checkNotNull(type);
- this.schemaNode = Preconditions.checkNotNull(node);
+ this.dtoType = requireNonNull(type);
+ this.schemaNode = requireNonNull(node);
}
/**