diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java index dc081439d..7f7ef8d4d 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java @@ -103,6 +103,7 @@ public abstract class TextBuiltin { * * @deprecated Use outw instead */ + @Deprecated protected PrintWriter out; /** Git repository the command was invoked within. */ 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 633865ed4..a50adf91f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java @@ -810,6 +810,7 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator { * @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, null);