question: protected int skipLine ( int c ) throws IOException { while ( c != - 1 && c != '\r' && c != '\n' ) { c = reader . read ( ) ; } if ( c == '\n' ) { c = reader . read ( ) ; lineNo ++ ; reportLocation ( lineNo , 1 ) ; } else if ( c == '\r' ) { c = reader . read ( ) ; if ( c == '\n' ) { c = reader . read ( ) ; } lineNo ++ ; reportLocation ( lineNo , 1 ) ; } return c ; }
target:  Reads characters from reader until the first EOL has been read. The first character after the EOL is returned. In case the end of the character stream has been reached, -1 is returned.