]> source.dussan.org Git - jgit.git/commitdiff
Fix deprecated WTI#isModified 52/21652/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 6 Feb 2014 22:03:25 +0000 (23:03 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 10 Feb 2014 10:26:53 +0000 (11:26 +0100)
We should really pass the forceContentCheck parameter to
the real method.

Change-Id: I9ea439cf6340a18d0e931edde3b9e3486cafde93
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java

index 14c53dd100da53307a60dac1a433ac8c8f67a865..cb00fc83d99c358ce86b43784928927a5d0d22e2 100644 (file)
@@ -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);
        }
 
        /**