question: private String listToString ( List roleNames ) { StringBuffer sb = new StringBuffer ( ) ; for ( Iterator i = roleNames . iterator ( ) ; i . hasNext ( ) ; ) { String role = ( String ) i . next ( ) ; if ( sb . length ( ) > 0 ) { sb . append ( "; " ) ; } sb . append ( getLocalizedString ( role ) ) ; } return sb . toString ( ) ; }
target:  This is a convenience routine that can be used to convert a List of String objects to a single String in the format of "one; two; three"