[
https://issues.apache.org/jira/browse/PDFBOX-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-4687.
-------------------------------------
Fix Version/s: 3.0.0 PDFBox
2.0.18
Assignee: Tilman Hausherr
Resolution: Fixed
Thanks!
> "Iterator.next()" methods should throw "NoSuchElementException"
> ---------------------------------------------------------------
>
> Key: PDFBOX-4687
> URL: https://issues.apache.org/jira/browse/PDFBOX-4687
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.17
> Reporter: Haris Adzemovic
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.18, 3.0.0 PDFBox
>
>
> Sonarcloud found that implementations of next() in PDFPageTree and
> PDOutlineItemIterator don't check that there exists a next element before
> accessing it:
> [https://sonarcloud.io/organizations/apache/issues?languages=java&open=AW5JmA2vaYfGX6JOkPBy&resolved=false&rules=squid%3AS2272&types=BUG]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]