aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-04-25 01:07:20 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2015-06-03 13:16:26 +0200
commitba51037a69166bac615600c5c4950b9e80f2e827 (patch)
tree5e3078e2183c483f0dfd2798a380b98cb36451fb /org.eclipse.jgit
parent08c8cf027dafec4ab3368ada10de1b223eb3cc80 (diff)
downloadjgit-ba51037a69166bac615600c5c4950b9e80f2e827.tar.gz
jgit-ba51037a69166bac615600c5c4950b9e80f2e827.zip
Delete deprecated WorkingTreeIterator.isModified(DirCacheEntry, boolean)
Change-Id: I687c392e5a625fd66c45998c94373aa59921b986 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java27
1 files changed, 0 insertions, 27 deletions
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 3838149a4f..d7c93d1a1c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java
@@ -62,7 +62,6 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
-import org.eclipse.jgit.api.errors.JGitInternalException;
import org.eclipse.jgit.attributes.AttributesNode;
import org.eclipse.jgit.attributes.AttributesRule;
import org.eclipse.jgit.diff.RawText;
@@ -899,32 +898,6 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator {
* @param forceContentCheck
* True if the actual file content should be checked if
* modification time differs.
- * @return true if content is most likely different.
- * @deprecated Use {@link #isModified(DirCacheEntry, boolean, ObjectReader)}
- */
- @Deprecated
- public boolean isModified(DirCacheEntry entry, boolean forceContentCheck) {
- try {
- return isModified(entry, forceContentCheck,
- repository.newObjectReader());
- } catch (IOException e) {
- throw new JGitInternalException(e.getMessage(), e);
- }
- }
-
- /**
- * Checks whether this entry differs from a given entry from the
- * {@link DirCache}.
- *
- * File status information is used and if status is same we consider the
- * file identical to the state in the working directory. Native git uses
- * more stat fields than we have accessible in Java.
- *
- * @param entry
- * the entry from the dircache we want to compare against
- * @param forceContentCheck
- * True if the actual file content should be checked if
- * modification time differs.
* @param reader
* access to repository objects if necessary. Should not be null.
* @return true if content is most likely different.