for (int i = readBufferPos; i < readBufferLength; i++) { switch (readBuffer [i]) { case ' ': case '\t': case '\r': columnAugment++; break; case '\n': lineAugment++; columnAugment = 0; break; case '%': if (expandPE) break loop;  default: readBufferPos = i; if (lineAugment > 0) { line += lineAugment; column = columnAugment; } else { column += columnAugment; } return; } } }   char c = readCh (); while (isWhitespace (c)) { c = readCh (); } unread (c); }
for (int i = readBufferPos; i < readBufferLength; i++) { switch (readBuffer[i]) { case ' ': case '\t': case '\r': columnAugment++; break; case '\n': lineAugment++; columnAugment = 0; break; case '%': if (expandPE) { break loop; }  default: readBufferPos = i; if (lineAugment > 0) { line += lineAugment; column = columnAugment; } else { column += columnAugment; } return; } } }   char c = readCh (); while (isWhitespace(c)) { c = readCh(); } unread(c); }
    private void skipWhitespace ()    throws SAXException, IOException    {	// Start with a little cheat.  Most of	// the time, the white space will fall	// within the current read buffer; if	// not, then fall through.	if (USE_CHEATS) {	    int lineAugment = 0;	    int columnAugment = 0;loop:	    for (int i = readBufferPos; i < readBufferLength; i++) {		switch (readBuffer [i]) {		case ' ':		case '\t':		case '\r':		    columnAugment++;		    break;		case '\n':		    lineAugment++;		    columnAugment = 0;		    break;		case '%':		    if (expandPE)			break loop;		    // else fall through...		default:		    readBufferPos = i;		    if (lineAugment > 0) {			line += lineAugment;			column = columnAugment;		    } else {			column += columnAugment;		    }		    return;		}	    }	}	// OK, do it the slow way.	char c = readCh ();	while (isWhitespace (c)) {	    c = readCh ();	}	unread (c);    }