Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1055

XMPMetadata.getSchemasByNamespaceURI() implementation inefficient

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.8.7
    • Component/s: JempBox
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              phax Philip Helger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: