You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/25 12:27:00 UTC
[jira] [Commented] (PDFBOX-4722) TestTextStripper doesn't detect
when less output
[ https://issues.apache.org/jira/browse/PDFBOX-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003254#comment-17003254 ]
ASF subversion and git services commented on PDFBOX-4722:
---------------------------------------------------------
Commit 1871964 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1871964 ]
PDFBOX-4722: compare array lengths
> TestTextStripper doesn't detect when less output
> ------------------------------------------------
>
> Key: PDFBOX-4722
> URL: https://issues.apache.org/jira/browse/PDFBOX-4722
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 2.0.18
> Reporter: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.19, 3.0.0 PDFBox
>
>
> While playing with PDFBOX-4720 I noticed that {{TestTextStripper}} didn't detect a missing {{ł}}. The reason is that we don't check for {{expectedArray.length != actualArray.length)}}. (If we had, PDFBOX-4720 would have been discovered earlier, due to a difference in the file of PDFBOX-3442)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org