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

Remove unnecessary List.get before remove in PopupFactory

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 26
    • None
    • client-libs

      There are a few methods in PopupFactory nested classes which call first List.get(0) and then List.remove.
      Instead of 2 separate calls we can call List.removeFirst once.

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

              Created:
              Updated:
              Resolved: