From: Robin Rosenberg Date: Thu, 6 Feb 2014 22:03:25 +0000 (+0100) Subject: Fix deprecated WTI#isModified X-Git-Tag: v3.3.0.201402191814-rc1~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=239f237be21a881434ce73f7e99d39b4324625b5;p=jgit.git Fix deprecated WTI#isModified We should really pass the forceContentCheck parameter to the real method. Change-Id: I9ea439cf6340a18d0e931edde3b9e3486cafde93 Signed-off-by: Matthias Sohn --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java index 14c53dd100..cb00fc83d9 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java @@ -801,7 +801,7 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator { * @deprecated Use {@link #isModified(DirCacheEntry, boolean, ObjectReader)} */ public boolean isModified(DirCacheEntry entry, boolean forceContentCheck) { - return isModified(entry, false, null); + return isModified(entry, forceContentCheck, null); } /**