public void nextLine(){
  while (!isEol()) {
    myPosition++;
  }
  if (hasMoreData()) {
    final char ch=myText.charAt(myPosition++);
    if (hasMoreData()) {
      final char ch2=myText.charAt(myPosition);
      if (ch == '\n' && ch2 == '\r' || ch == '\r' && ch2 == '\n') {
        myPosition++;
      }
    }
  }
}

public void nextLine ( ) { while ( ! isEol ( ) ) { myPosition ++ ; } if ( hasMoreData ( ) ) { final char ch = myText . charAt ( myPosition ++ ) ; if ( hasMoreData ( ) ) { final char ch2 = myText . charAt ( myPosition ) ; if ( ch == '\n' && ch2 == '\r' || ch == '\r' && ch2 == '\n' ) { myPosition ++ ; } } } }
continue to the next line , the rest of the current line is skipped
