-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
None
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.
This code can be moved into a common function, which will accept the appropriate parameters, so that code duplication can be removed.
Remove duplicated code in AbstractListModel class
-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
None
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.
This code can be moved into a common function, which will accept the appropriate parameters, so that code duplication can be removed.