aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2014-04-03 12:08:07 -0700
committerShawn Pearce <spearce@spearce.org>2014-04-03 12:08:07 -0700
commitffb0f05d02d0afe25ae1ebd4a0166ee4909e4d59 (patch)
treea11645e08c13ae6e93471a5d5c75ab52e6ce79cf
parent94330d9cb521e9074ac3d3b4c9a985561e636b5d (diff)
downloadjgit-ffb0f05d02d0afe25ae1ebd4a0166ee4909e4d59.tar.gz
jgit-ffb0f05d02d0afe25ae1ebd4a0166ee4909e4d59.zip
Mark getParent deprecated in CanonicalTreeParser
@deprecated in Javadoc must be accompanied by @Deprecated annotation on the class member. Change-Id: Ifdf787f496ff3ffd6ffe8f3321d56320cb08454f
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java1
1 files changed, 1 insertions, 0 deletions
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 523dfb04e4..0805e5068c 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;
}