public static void isNotZeroLength( String argument,
                                        String name ) {
        isNotNull(argument, name);
        if (argument.length() <= 0) {
            throw new IllegalArgumentException(CommonI18n.argumentMayNotBeNullOrZeroLength.text(name));
        }
    }
public static void isNotZeroLength ( String argument , String name ) { isNotNull ( argument , name ) ; if ( argument . length ( ) <= 0 ) { throw new IllegalArgumentException ( CommonI18n . argumentMayNotBeNullOrZeroLength . text ( name ) ) ; } }
Check that the string is non-null and has length > 0

@param argument The argument
@param name The name of the argument
@throws IllegalArgumentException If value is null or length == 0