Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-148

Use Set.contains() rather than manual iteration to check for containment of class in artifact

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 2.1
    • analyze
    • None
    • Patch

    Description

      The usual java.util.Set implementations use data structures that are optimized for containment checks.

      Attachments

        1. set-containment-check.patch
          1.0 kB
          Benjamin Bentmann

        Activity

          People

            brianf Brian E Fox
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: