diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-10-06 09:38:58 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-10-06 09:38:58 +0000 |
commit | ecc4485e27661b20eb29f36768b51f6511dad9d0 (patch) | |
tree | cf4e595f32b5b104b0689124a3b961c62d3e4083 /src/resources | |
parent | ac6a401fd81234762d26cca364de9a4c7a6ba44d (diff) | |
download | poi-ecc4485e27661b20eb29f36768b51f6511dad9d0.tar.gz poi-ecc4485e27661b20eb29f36768b51f6511dad9d0.zip |
add stax entries to forbidden apis due to android issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/devtools/forbidden-signatures.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/devtools/forbidden-signatures.txt b/src/resources/devtools/forbidden-signatures.txt index e64d7e02cf..9fda92e1b6 100644 --- a/src/resources/devtools/forbidden-signatures.txt +++ b/src/resources/devtools/forbidden-signatures.txt @@ -123,6 +123,11 @@ java.util.concurrent.Future#cancel(boolean) @defaultMessage Don't use ...InputStream.available() as it gives wrong result for certain streams - use IOUtils.toByteArray to read the stream fully and then count the available bytes
java.io.InputStream#available()
+@defaultMessage Use newInstance, as newFactory does not seem to work on Android - https://github.com/centic9/poi-on-android/issues/44#issuecomment-426517981
+javax.xml.stream.XMLEventFactory#newFactory()
+javax.xml.stream.XMLInputFactory#newFactory()
+javax.xml.stream.XMLOutputFactory#newFactory()
+
@defaultMessage Unnecessary, inefficient, and confusing conversion of String.toString
java.lang.String#toString()
|