-
Bug
-
Resolution: Done
-
Major
-
0.1
-
None
This method currently returns the root path itself in an attempt to make method chaining more consistent, but this makes the semantics of getAncestor() incorrect for the root path and the behavior inconsistent with the corresponding isAncestorOf() method, which returns false for rootPath.isAncestorOf(rootPath). getAncestor(int depth) will need to be changed accordingly.