Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356846

Remove unnecessary List.contains key from TIFFDirectory.removeTagSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • None
    • client-libs

              if(tagSets.contains(tagSet)) {
                  tagSets.remove(tagSet);
              }

      There is no need to call List.contains before List.remove call.
      tagSets is an ArrayList.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: