diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java index a8088207f9..445ff7afe2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java @@ -45,6 +45,7 @@ package org.eclipse.jgit.diff; import java.util.AbstractList; import java.util.ArrayList; +import java.util.Collection; /** Specialized list of {@link Edit}s in a document. */ public class EditList extends AbstractList<Edit> { @@ -100,6 +101,11 @@ public class EditList extends AbstractList<Edit> { } @Override + public boolean addAll(Collection<? extends Edit> c) { + return container.addAll(c); + } + + @Override public Edit remove(final int index) { return container.remove(index); } |