aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.iplog
diff options
context:
space:
mode:
authorChris Aniszczyk <caniszczyk@gmail.com>2010-09-17 15:08:27 -0400
committerCode Review <codereview-daemon@eclipse.org>2010-09-17 15:08:27 -0400
commit207ab8b8f54a10688205ee3448b76dde70a3a163 (patch)
treef2f85f1c348f00952c99db4cc41eca8ee1bf7b2c /org.eclipse.jgit.iplog
parentbbabc19e2f58236c6997e6bbb8b8f053b8c4587e (diff)
parent307ba53eb65f616252567bfc6b8c52703a192be1 (diff)
downloadjgit-207ab8b8f54a10688205ee3448b76dde70a3a163.tar.gz
jgit-207ab8b8f54a10688205ee3448b76dde70a3a163.zip
Merge "Define DiffAlgorithm as an abstract function"
Diffstat (limited to 'org.eclipse.jgit.iplog')
-rw-r--r--org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
index 5013eb6b8a..66345bb7dc 100644
--- a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
+++ b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
@@ -384,9 +384,9 @@ public class IpLogGenerator {
else
oldImage = new byte[0];
- EditList edits = new MyersDiff<RawText>(
+ EditList edits = MyersDiff.INSTANCE.diff(
RawTextComparator.DEFAULT, new RawText(oldImage),
- new RawText(openBlob(1))).getEdits();
+ new RawText(openBlob(1)));
for (Edit e : edits)
addedLines += e.getEndB() - e.getBeginB();
}