XMPMetadata.getSchemasByNamespaceURI() implementation inefficient
-----------------------------------------------------------------

                 Key: PDFBOX-1055
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1055
             Project: PDFBox
          Issue Type: Improvement
          Components: JempBox
    Affects Versions: 1.5.0
            Reporter: Philip Helger
            Priority: Minor
             Fix For: 1.6.0


The implementation of getSchemasByNamespaceURI is inefficient, if no namespace 
mapping is present.
You may consider to call "List<XMPSchema> l = getSchemas();" just before the 
iterator is retrieved.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to