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

Remove duplicated code in AbstractListModel class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • None
    • client-libs

      AbstractListModel has three functions, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved which have identical code except for the type of the event they create (specified by the event type value) and the function they call for propagating changes to listeners.

      This code can be moved into a common function, which will accept the appropriate parameters, so that code duplication can be removed.

            kaddepalli Krishna Addepalli
            kaddepalli Krishna Addepalli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: