// Path: url/src/main/java/com/danisola/restify/url/preconditions/Preconditions.java
// public static String checkArgumentNotNullOrEmpty(String string) {
//     if (string == null || string.isEmpty()) {
//         throw new IllegalArgumentException("Argument cannot be null or empty");
//     }
//     return string;
// }


import static com.danisola.restify.url.preconditions.Preconditions.checkArgumentNotNullOrEmpty;
package com.danisola.restify.url;


class NameValuePair {

    private final String name;
    private final String value;

    public NameValuePair(String name, String value) {
// Path: url/src/main/java/com/danisola/restify/url/preconditions/Preconditions.java
// public static String checkArgumentNotNullOrEmpty(String string) {
//     if (string == null || string.isEmpty()) {
//         throw new IllegalArgumentException("Argument cannot be null or empty");
//     }
//     return string;
// }


// Path: url/src/main/java/com/danisola/restify/url/NameValuePair.java
import static com.danisola.restify.url.preconditions.Preconditions.checkArgumentNotNullOrEmpty;

package com.danisola.restify.url;


class NameValuePair {

    private final String name;
    private final String value;

    public NameValuePair(String name, String value) {
        this.name = checkArgumentNotNullOrEmpty(name);