Adrian Nistor created PDFBOX-1459:
-------------------------------------
Summary: wasted work in AbstractTestAction.valid()
Key: PDFBOX-1459
URL: https://issues.apache.org/jira/browse/PDFBOX-1459
Project: PDFBox
Issue Type: Bug
Reporter: Adrian Nistor
Attachments: patch.diff
The problem appears in revision 1414788. I attached a one-line patch
that fixes it.
In method "AbstractTestAction.valid", the loop over "errors" should
break immediately after "found" is set to "true". All the iterations
after "found" is set to "true" do not perform any useful work, at best
they just set "found" again to "true".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira