Skip to content

Commit

Permalink
Removed assertion info, not relevant.
Browse files Browse the repository at this point in the history
  • Loading branch information
dweiss committed Mar 27, 2013
1 parent bb6f9d4 commit a9fd8fe
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -221,11 +221,11 @@ public static int codePointCount(BytesRef utf8) {
}

// Anything not covered above is invalid UTF8.
assert false : "Invalid UTF8: " + utf8.toString();
assert false;
}

// Check if we didn't go over the limit on the last character.
assert pos <= limit : "Invalid UTF8: " + utf8.toString();
assert pos <= limit;
return codePointCount;
}

Expand Down

0 comments on commit a9fd8fe

Please sign in to comment.