From ffb0f05d02d0afe25ae1ebd4a0166ee4909e4d59 Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Thu, 3 Apr 2014 12:08:07 -0700 Subject: [PATCH] Mark getParent deprecated in CanonicalTreeParser @deprecated in Javadoc must be accompanied by @Deprecated annotation on the class member. Change-Id: Ifdf787f496ff3ffd6ffe8f3321d56320cb08454f --- .../src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java index 523dfb04e..0805e5068 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java @@ -112,6 +112,7 @@ public class CanonicalTreeParser extends AbstractTreeIterator { * @return the parent of this tree parser * @deprecated internal use only */ + @Deprecated public CanonicalTreeParser getParent() { return (CanonicalTreeParser) parent; }