question: private void addOptionList ( final List < String > args , final String optName , final List < String > values ) { for ( final String value : values ) { if ( value != null && ! value . isEmpty ( ) ) { args . add ( optName ) ; args . add ( value ) ; } } }
target:  Adds multivalued option to arguments. 