Skip to content

Commit

Permalink
Fix readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan committed Jan 8, 2014
1 parent 4c1b34b commit 8af0a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ Below you can find example JPA mapping using nested set implementation. Enjoy!
this.bound = bound;
}

public MetadataComponent getParent() {
public Node getParent() {
return tree.asNestedSet().getParentOf(this);
}

public final List<MetadataComponent> getChildren() {
public final List<Node> getChildren() {
return tree.asNestedSet().getChildrenOf(this);
}
}

0 comments on commit 8af0a3e

Please sign in to comment.