https://github.com/apache/commons-lang
Revision 2fdfb4a387951bc14a4d8d5360daa45c76fea0d6 authored by Gary D. Gregory on 16 March 2010, 00:46:02 UTC, committed by Gary D. Gregory on 16 March 2010, 00:46:02 UTC
- indexOf(String, char) -> indexOf(String, int)
- indexOf(String, char, int) -> indexOf(String, int, int)
- lastIndexOf(String, char) -> lastIndexOf(String, int)
- lastIndexOf(String, char, int) -> lastIndexOf(String, int, int)
- contains(String, char) -> contains(String, int) 

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923527 13f79535-47bb-0310-9956-ffa450edef68
1 parent bc52782
History
Tip revision: 2fdfb4a387951bc14a4d8d5360daa45c76fea0d6 authored by Gary D. Gregory on 16 March 2010, 00:46:02 UTC
Change the APIs from char to int character input to match underlying JRE API called. There is no need to narrow the input type argument to the JRE, in fact this causes us to loose support for Unicode supplementary characters. The APIs changed are:
Tip revision: 2fdfb4a
File Mode Size
src
LICENSE.txt -rw-r--r-- 11.1 KB
NOTICE.txt -rw-r--r-- 173 bytes
RELEASE-NOTES.txt -rw-r--r-- 5.2 KB
checkstyle.xml -rw-r--r-- 1.6 KB
doap_lang.rdf -rw-r--r-- 3.0 KB
findbugs-exclude-filter.xml -rw-r--r-- 3.4 KB
pom.xml -rw-r--r-- 16.7 KB

back to top