public static void isEmpty ( Object [ ] argument , String name ) { isNotNull ( argument , name ) ; if ( argument . length > 0 ) { throw new IllegalArgumentException ( CommonI18n . argumentMustBeEmpty . text ( name ) ) ; } }
Check that the array is empty