Fixing #LANG-294. The indexOf method did not take into account the size variable that limited the amount of the buffer that should be looked at. 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@469677 13f79535-47bb-0310-9956-ffa450edef68
2 files changed