Bug in ContentList.addAll(int,Collection)> The remove lines should be:
> for (int i = 0; i < count; i++) {
> remove(index);
> }
>
Even better - to avoid unnecessary shifting of elements that will get
removed anyway you can remove backward. Use
for (int i = index + count; i-->index;) {
remove(i);
}
Attila.