question: private static void addLinesToMsg ( XmppMsg msg , ArrayList < String > lines ) { if ( lines == null ) { return ; } Collections . sort ( lines ) ; for ( String line : lines ) { msg . appendLine ( line ) ; } }
target:  Adds lines to the XmppMsg, one per line does nothing if lines is null