Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9fea86

Browse files
committed
remove verification from applyTo
1 parent b17bbb1 commit b9fea86

File tree

1 file changed

+1
-1
lines changed
  • java-diff-utils/src/main/java/com/github/difflib/patch

1 file changed

+1
-1
lines changed

java-diff-utils/src/main/java/com/github/difflib/patch/Patch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public List<T> applyTo(List<T> target) throws PatchFailedException {
5757
ListIterator<AbstractDelta<T>> it = getDeltas().listIterator(deltas.size());
5858
while (it.hasPrevious()) {
5959
AbstractDelta<T> delta = it.previous();
60-
delta.applyTo(result);
60+
delta.verifyAntApplyTo(result);
6161
}
6262
return result;
6363
}

0 commit comments

Comments
 (0)