mbien commented on code in PR #9327:
URL: https://github.com/apache/netbeans/pull/9327#discussion_r3068384160
##########
ide/jumpto/src/org/netbeans/modules/jumpto/symbol/ContentProviderImpl.java:
##########
@@ -391,8 +391,6 @@ public void run() {
if (done || resultChanged) {
lastSize = newSize[0];
lastProvCount = newProvCount;
- model.remove(toRemove);
- model.add(toAdd);
Review Comment:
yeah. we could look at this separately later since it is fairly independent
from the main change here. If there are more access patterns similar to this
adding a `MutableListModel#updateAtomic(Runable)` might help too. (back from
the MTB trip)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists