pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haris Adzemovic (Jira)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-4687) "Iterator.next()" methods should throw "NoSuchElementException"
Date Wed, 13 Nov 2019 14:12:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haris Adzemovic updated PDFBOX-4687:
------------------------------------
    External issue URL: https://github.com/apache/pdfbox/pull/75

> "Iterator.next()" methods should throw "NoSuchElementException"
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-4687
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4687
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Haris Adzemovic
>            Priority: Minor
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message