question: public void add ( final String text ) { final String [ ] lines = text . split ( "\n" ) ; if ( lines . length > 0 ) { addToBuffer ( lines ) ; } else { addToBuffer ( new String [ ] { text } ) ; } }
target:  Adds the given text to the circular buffer.