diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-11-21 22:10:48 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-11-21 22:10:48 +0000 |
commit | acc7b356ee8310c3f4fc694426bec365d266c370 (patch) | |
tree | ffaa147b4547588cb25b3a623eace22267483c12 /src/resources | |
parent | 936f29af69699ee620d2ce5fa4a7110aabf68ca1 (diff) | |
download | poi-acc7b356ee8310c3f4fc694426bec365d266c370.tar.gz poi-acc7b356ee8310c3f4fc694426bec365d266c370.zip |
add forbidden api checks for non-Locale toLowerCase and toUpperCase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/devtools/forbidden-signatures.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/devtools/forbidden-signatures.txt b/src/resources/devtools/forbidden-signatures.txt index a95abb7174..c96b08b6c6 100644 --- a/src/resources/devtools/forbidden-signatures.txt +++ b/src/resources/devtools/forbidden-signatures.txt @@ -102,8 +102,10 @@ java.lang.Character#codePointAt(char[],int) @ Implicit end offset is error-prone @defaultMessage specify a locale when using toUpperCase / to LowerCase
-#java.lang.Character#toLowerCase(char)
-#java.lang.Character#toUpperCase(char)
+java.lang.Character#isLowerCase(char)
+java.lang.Character#isUpperCase(char)
+java.lang.Character#toLowerCase(char)
+java.lang.Character#toUpperCase(char)
java.lang.String#toLowerCase()
java.lang.String#toUpperCase()
|