Description
Access to through the parent node is problematic wrt. to access control. So instead of relying on Tree.getParent() == null to check for root, we should rather have a method Tree.isRoot().
Access to through the parent node is problematic wrt. to access control. So instead of relying on Tree.getParent() == null to check for root, we should rather have a method Tree.isRoot().