Remove deprecated ResultTree API

This commit is contained in:
Andrew Dunham 2015-04-28 15:57:35 -07:00
parent 07303c708b
commit 189961cb8d
23 changed files with 0 additions and 221 deletions

View file

@ -110,13 +110,6 @@ func (it *LinksTo) TagResults(dst map[string]graph.Value) {
it.primaryIt.TagResults(dst)
}
// DEPRECATED
func (it *LinksTo) ResultTree() *graph.ResultTree {
tree := graph.NewResultTree(it.Result())
tree.AddSubtree(it.primaryIt.ResultTree())
return tree
}
// Optimize the LinksTo, by replacing it if it can be.
func (it *LinksTo) Optimize() (graph.Iterator, bool) {
return it, false

View file

@ -153,10 +153,6 @@ func (it *Iterator) Err() error {
return it.err
}
func (it *Iterator) ResultTree() *graph.ResultTree {
return graph.NewResultTree(it.Result())
}
func (it *Iterator) Result() graph.Value {
return it.result
}