Potential ArrayIndexOutOfBoundsException when term not found
liangde-chen opened this issue · 0 comments
liangde-chen commented
This line causes ArrayIndexOutOfBoundsException when term not found
It should be:
while (newLen < maxLen && bytes[newLen] != term)