final void chompNewline() throws IOException {
  if ((pos != end || fillBuf() != -1) && buf[pos] == '\n') {
    ++pos;
  }
}

final void chompNewline ( ) throws IOException { if ( ( pos != end || fillBuf ( ) != - 1 ) && buf [ pos ] == '\n' ) { ++ pos ; } }
peeks at the next input character , refilling the buffer if necessary . if this character is a newline character ( " \ n " ) , it is discarded .
