Merge pull request #334 from charlag/paired-list-fix
Fix bug with paired list incorrectly adding to the specified position.
This commit is contained in:
commit
f56d16c8fd
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public final class PairedList<T, V> extends AbstractList<T> {
|
|||
@Override
|
||||
public void add(int index, T element) {
|
||||
synced.add(index, mapper.apply(element));
|
||||
main.add(element);
|
||||
main.add(index, element);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue