question: private String listToString ( List < String > stringList ) { StringBuilder concat = new StringBuilder ( ) ; for ( String str : stringList ) { concat . append ( str ) ; concat . append ( System . getProperty ( "line.separator" ) ) ; } return concat . toString ( ) ; }
target:  Concatenates a list of Strings to one line-separated String