class Preconditions {

    public static String checkNotEmpty(String value) {

        if (value == null || value.length() == 0) {
            throw new IllegalArgumentException();
        }
        return value;
    }

    private  Preconditions();

}