xmlgraphics-commons
xmlgraphics-commons copied to clipboard
XGC-148: drop commons-io dependency
Fixes https://issues.apache.org/jira/browse/XGC-148
TODO:
- [x]
IOUtils.closeQuitely— replaced withtry-with-resources - [x]
IOUtils.toString(Reader)— implemented a function in test (it was used in a single test only) - [x]
IOUtils.copy. Java 9 hasInputStream.transferTo(OutputStream) - [x]
IOUtils.toByteArray. Java 9 hasInputStream.readAllBytes() - [x]
commons.io.output.ByteArrayOutputStream. I see that there were no consistent use ofcommons.ByteArrayOutputStream, so I replaced all the usages withjava.io.ByteArrayOutputStream - [x]
EndianUtils.readSwappedInteger
I see the CI checks fail, and I suggest a fix for it: https://github.com/apache/xmlgraphics-commons/pull/33
@simonsteiner1984 , any thoughts?
Is there a reason of not merging the PR?
Frankly, it looks sad to miss myself here: https://github.com/apache/xmlgraphics-commons/graphs/contributors
https://github.com/apache/xmlgraphics-commons/commit/22e04a9b0a5018081ebebef09b7c8234e8927e75