Browse Source

Mark getParent deprecated in CanonicalTreeParser

@deprecated in Javadoc must be accompanied by @Deprecated annotation
on the class member.

Change-Id: Ifdf787f496ff3ffd6ffe8f3321d56320cb08454f
stable-3.4
Shawn Pearce 11 years ago
parent
commit
ffb0f05d02
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/CanonicalTreeParser.java

1
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;
}

Loading…
Cancel
Save