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:
peter
2012-03-31 22:45:01 +02:00
parent 648767bd5d
commit af5d1fb023
@@ -102,7 +102,6 @@ public class SmartList<E> extends AbstractList<E> {
oldValue = (E)array[index];
array[index] = element;
}
modCount++;
return oldValue;
}