question: private List < String > readLines ( final BufferedReader reader ) throws IOException { final List < String > lines = new ArrayList < > ( ) ; String line ; for ( int lineNumber = 1 ; ( line = reader . readLine ( ) ) != null ; lineNumber ++ ) { if ( line . startsWith ( " " ) ) { final int lastLineIndex = lines . size ( ) - 1 ; final String previousLine = lines . get ( lastLineIndex ) ; if ( lines . isEmpty ( ) || previousLine . isEmpty ( ) ) { throw DecodeException . fatalError ( ERR_TEMPLATE_FILE_INVALID_LEADING_SPACE . get ( lineNumber , line ) ) ; } lines . set ( lastLineIndex , previousLine + line . substring ( 1 ) ) ; } else { lines . add ( line ) ; } } return lines ; }
target:  Retrieves the lines from the provided reader.