question: private String format ( Object ... params ) { StringBuilder buf = new StringBuilder ( ) ; for ( Object p : params ) { if ( p instanceof String ) { formatTo ( buf , ( String ) p ) ; } else if ( p instanceof List ) { formatTo ( buf , ( List < ? > ) p ) ; } else { LOG . warning ( "Incorrect object type: " + p . getClass ( ) ) ; } } return buf . toString ( ) ; }
target:  Format objects to a command line.