question: @ NonNull protected static List < RaveError > checkStringDef ( boolean isNullable , @ NonNull ValidationContext validationContext , @ Nullable String [ ] values , String ... acceptableValues ) { List < RaveError > errors = checkNullable ( values , isNullable , validationContext ) ; if ( values == null ) { return errors ; } for ( String s : values ) { errors = mergeErrors ( errors , checkStringDef ( false , validationContext , s , acceptableValues ) ) ; } return errors == null ? Collections . < RaveError > emptyList ( ) : errors ; }
target:  Utility to check if the strings in a array of strings match acceptable values. If the input array is null then nothing is done.