GitHub user xiexiangyi opened a pull request: https://github.com/apache/pdfbox/pull/67
2.0 a OutputStream can be signature then return the OutputStream ? You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/pdfbox 2.0 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/pdfbox/pull/67.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #67 ---- commit b3410d0453aa6adef34fedf8cebf7938b471b85b Author: Andreas Lehmkühler <lehmi@...> Date: 2018-09-23T16:08:09Z PDFBOX-4252: fix if clause as proposed by Xin Lin git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1841764 13f79535-47bb-0310-9956-ffa450edef68 commit cf8326095ad60efff30f4f7c6dcbc0b63e6154b0 Author: Tilman Hausherr <tilman@...> Date: 2018-09-23T19:56:21Z PDFBOX-4071: correct javadoc git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1841779 13f79535-47bb-0310-9956-ffa450edef68 commit 00badd87463928c2ac3d6b49aae4a392ca01ef2a Author: Tilman Hausherr <tilman@...> Date: 2018-09-24T04:52:09Z PDFBOX-4252: add test, adjust comments and test type git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1841795 13f79535-47bb-0310-9956-ffa450edef68 commit 784a96985df5bf0996c44bcb57454497724be44c Author: Tilman Hausherr <tilman@...> Date: 2018-09-24T18:04:12Z PDFBOX-4252: clarify name git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1841883 13f79535-47bb-0310-9956-ffa450edef68 commit bf4c524899dd18614f77ff954e76296d84a9b6c0 Author: Tilman Hausherr <tilman@...> Date: 2018-09-26T17:08:30Z PDFBOX-4071: update owasp and jbig2 plugin git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842037 13f79535-47bb-0310-9956-ffa450edef68 commit d461705ead762417fe227df92ad6b5c82230fa25 Author: Tilman Hausherr <tilman@...> Date: 2018-09-27T17:56:02Z PDFBOX-4071: skip duplicates git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842130 13f79535-47bb-0310-9956-ffa450edef68 commit f2abf75c8f028db1f0effc94d34f1d4e49b2499f Author: Tilman Hausherr <tilman@...> Date: 2018-09-27T17:59:02Z PDFBOX-4322: treat identity ToUnicode streams that are empty as identity git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842132 13f79535-47bb-0310-9956-ffa450edef68 commit 8dd0b6f553757e3712026e9daadb1d3f49b8b346 Author: Tilman Hausherr <tilman@...> Date: 2018-09-27T18:11:47Z PDFBOX-4322: add test file git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842135 13f79535-47bb-0310-9956-ffa450edef68 commit dcf5082ac2a213f744176ccd3448bab9eaea792d Author: Tilman Hausherr <tilman@...> Date: 2018-09-27T19:32:00Z PDFBOX-4325: parse structured types too to avoid ClassCastException git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842147 13f79535-47bb-0310-9956-ffa450edef68 commit 217ed60f8eea14d729dc1d551c2f700f0751b6c1 Author: Tilman Hausherr <tilman@...> Date: 2018-09-28T16:19:35Z PDFBOX-4071: add exception message git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842265 13f79535-47bb-0310-9956-ffa450edef68 commit 8ece926d35a412dc99ab3b3bb1e88506ada080be Author: Tilman Hausherr <tilman@...> Date: 2018-09-30T14:21:33Z PDFBOX-4071: use base class git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842381 13f79535-47bb-0310-9956-ffa450edef68 commit 1ad41f4ebc38f95ad36a02816472b4f5f64e84ce Author: Andreas Lehmkühler <lehmi@...> Date: 2018-10-01T16:32:12Z prepare for 2.0.12 release git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842517 13f79535-47bb-0310-9956-ffa450edef68 commit 7d77eace0f71ed4dc62939829ae8ebf40c075f2e Author: Andreas Lehmkühler <lehmi@...> Date: 2018-10-01T18:05:07Z [maven-release-plugin] prepare release 2.0.12 git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842532 13f79535-47bb-0310-9956-ffa450edef68 commit b25d5b2e5b0d640e4cb0dba2ef570b9a444a8e5a Author: Andreas Lehmkühler <lehmi@...> Date: 2018-10-01T18:05:23Z [maven-release-plugin] prepare for next development iteration git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842534 13f79535-47bb-0310-9956-ffa450edef68 commit c1e31b1ae9cbc8ee4d12d53779e969bc8b6f35dd Author: Tilman Hausherr <tilman@...> Date: 2018-10-03T11:57:43Z PDFBOX-4330: skip double E git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842708 13f79535-47bb-0310-9956-ffa450edef68 commit e27d8582029727f3396cc830d99807cd6ec4549b Author: Tilman Hausherr <tilman@...> Date: 2018-10-03T12:56:10Z PDFBOX-4071: replace broken link git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842714 13f79535-47bb-0310-9956-ffa450edef68 commit efbd7e00be82685860e00b523838482d0266a66c Author: Tilman Hausherr <tilman@...> Date: 2018-10-03T16:37:41Z PDFBOX-4331: make jdk9 activation automatic git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842743 13f79535-47bb-0310-9956-ffa450edef68 commit 99764abca31ce09d1e8aee621da01c8073f84ea6 Author: Tilman Hausherr <tilman@...> Date: 2018-10-05T17:03:02Z PDFBOX-4327: avoid NPEs by copying ExtGState into graphics state git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842943 13f79535-47bb-0310-9956-ffa450edef68 commit cc1edc4ad869f6f48033ccff4de53b6357ef1611 Author: Tilman Hausherr <tilman@...> Date: 2018-10-05T17:08:51Z PDFBOX-4326: override colorspace to avoid wrong number of 3 colors; provide passing integer RGB raster for possible future use git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1842944 13f79535-47bb-0310-9956-ffa450edef68 commit e50af63d4f47af6ddb7a5319bd0f2df490aa3d05 Author: Tilman Hausherr <tilman@...> Date: 2018-10-06T18:54:10Z PDFBOX-4071: fix typo git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843031 13f79535-47bb-0310-9956-ffa450edef68 commit bd5447141ab2b81e6f45e5748b7d28df7f6f8880 Author: Tilman Hausherr <tilman@...> Date: 2018-10-08T15:59:59Z PDFBOX-4163: save ARGB images into jpeg only when supported; optimize writing git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843167 13f79535-47bb-0310-9956-ffa450edef68 commit 0a71f20ad5bb4feb1235cb84a8e4a8db097a261e Author: Tilman Hausherr <tilman@...> Date: 2018-10-08T18:37:48Z PDFBOX-4071: remove empty <p> git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843179 13f79535-47bb-0310-9956-ffa450edef68 commit ad165f42ccd78fe244058f16298e0808321fc786 Author: Tilman Hausherr <tilman@...> Date: 2018-10-08T18:40:15Z PDFBOX-4333: avoid ClassCastException git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843182 13f79535-47bb-0310-9956-ffa450edef68 commit 1e232ba92297304e20e6eb804b7e275b4c2fdc90 Author: Tilman Hausherr <tilman@...> Date: 2018-10-08T19:15:52Z PDFBOX-4335: implements Closeable, as suggested by Wiktor Kwapisiewicz git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843187 13f79535-47bb-0310-9956-ffa450edef68 commit 7ae213cc553cc1debc8819c651ba4e11ddbd9e7e Author: Tilman Hausherr <tilman@...> Date: 2018-10-09T17:56:47Z PDFBOX-4333: Reduce the total number of break and continue statements in this loop for SonarQube git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843318 13f79535-47bb-0310-9956-ffa450edef68 commit db4b9a203da85c33ebfa8df4b3ba5d59b996c3a7 Author: Tilman Hausherr <tilman@...> Date: 2018-10-09T18:12:56Z PDFBOX-4335: add @Override, close overlay object in utility (SonarQube complaints) git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843319 13f79535-47bb-0310-9956-ffa450edef68 commit c2c4b41cb6c79b0fb566790592f53b64052b7510 Author: Tilman Hausherr <tilman@...> Date: 2018-10-09T19:22:29Z PDFBOX-4336: be lenient ob incorrect character code sequences git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843331 13f79535-47bb-0310-9956-ffa450edef68 commit 2dea05073fcd6193039898935ccc1136c8a0036e Author: Tilman Hausherr <tilman@...> Date: 2018-10-10T18:49:58Z PDFBOX-4071: close inputstream git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843487 13f79535-47bb-0310-9956-ffa450edef68 commit ae0ee42bdb43e32b1d18ad3760d0d64d3f674f82 Author: Tilman Hausherr <tilman@...> Date: 2018-10-10T19:40:00Z PDFBOX-4071: change variable names to make it easier to find them git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843497 13f79535-47bb-0310-9956-ffa450edef68 commit 4f2e8836a41577584b3d4f5af450f5a2dfe133c9 Author: Tilman Hausherr <tilman@...> Date: 2018-10-11T18:35:30Z PDFBOX-4338: avoid ArrayIndexOutOfBoundsException git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1843580 13f79535-47bb-0310-9956-ffa450edef68 ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org