mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SmartList.set shouldn't increase modCount. ArrayList doesn't do that, and this breaks Collections.sort under IBM JDK (IDEA-83548)
This commit is contained in:
@@ -102,7 +102,6 @@ public class SmartList<E> extends AbstractList<E> {
|
||||
oldValue = (E)array[index];
|
||||
array[index] = element;
|
||||
}
|
||||
modCount++;
|
||||
return oldValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user