diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-03-07 12:12:20 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-03-07 12:12:20 -0800 |
commit | 9013e9e9932ff9a08dc310965aa0d20a0345954f (patch) | |
tree | d451fd15c0681e4579e63cd4c59c41e664b8238b /org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java | |
parent | cda64073fd45d3056486b96877e4ff6dd12dbaa5 (diff) | |
download | jgit-9013e9e9932ff9a08dc310965aa0d20a0345954f.tar.gz jgit-9013e9e9932ff9a08dc310965aa0d20a0345954f.zip |
Remove deprecated Treeish interface
This interface has been deprecated for a long time now.
Time to remove it.
Change-Id: I29a938657e4637b2a9d0561940b38d70866613f7
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java index 06ef429974..35db026da8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java @@ -65,7 +65,7 @@ import org.eclipse.jgit.util.RawParseUtils; * information from its getter methods. */ @Deprecated -public class Tree extends TreeEntry implements Treeish { +public class Tree extends TreeEntry { private static final TreeEntry[] EMPTY_TREE = {}; /** @@ -235,14 +235,6 @@ public class Tree extends TreeEntry implements Treeish { return db; } - public final ObjectId getTreeId() { - return getId(); - } - - public final Tree getTree() { - return this; - } - /** * @return true of the data of this Tree is loaded */ |