[
https://issues.apache.org/jira/browse/PDFBOX-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14632547#comment-14632547
]
Tilman Hausherr commented on PDFBOX-2891:
-----------------------------------------
I wanted to test this. At first, I changed TestTextStripper back to using the
JDK6 calls that you removed (thanks) but they weren't flagged. Then I changed a
call in BaseParser, using isEmpty() instead of .length() == 0, and it wasn't
flagged. When copying the pom.xml segment to the pdfbox project, it was
properly flagged (but not for the test code).
> Use animal sniffer maven plugin to detect non java 5 api usage within the 1.8
> branch
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-2891
> URL: https://issues.apache.org/jira/browse/PDFBOX-2891
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 1.8.11
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.11
>
>
> Use the animal sniffer maven plugin to ensure java 5 compatibility when using
> a jdk newer than java 5 to build PDFBox 1.8
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]