Skip to content

Commit

Permalink
remove bound check?
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroger committed Dec 10, 2016
1 parent f50fe49 commit f461b57
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -56,7 +56,8 @@ public final void consumeAllBuffer(final CellConsumer cellConsumer) {
// unescaped loop
if ((currentState & ESCAPED_AREA) == 0) {
if ((currentState & COMMENTED) == 0) {
while (currentIndex < bufferSize) {
int lSize = Math.min(bufferSize, chars.length);
while (currentIndex < lSize) {
final char character = chars[currentIndex];
final int cellEnd = currentIndex;

Expand Down

0 comments on commit f461b57

Please sign in to comment.