You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/04/29 17:08:06 UTC
[jira] Closed: (MYFACES-215) [tree2] isLeaf method should be deprecated
[ http://issues.apache.org/jira/browse/MYFACES-215?page=all ]
sean schofield closed MYFACES-215:
----------------------------------
Resolution: Won't Fix
Users have requested that we not deprecate or remove this method. There are instances where it may be more efficient to determine if the node is a leaf without having to count the children, etc. So we'll leave this method alone for now.
> [tree2] isLeaf method should be deprecated
> ------------------------------------------
>
> Key: MYFACES-215
> URL: http://issues.apache.org/jira/browse/MYFACES-215
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Reporter: sean schofield
> Assignee: sean schofield
> Priority: Minor
>
> IMO the getChildCount method and the getType methods could cover pretty much every scenario that you would need isLeaf for. TreeNodeBase should eliminate this method (simple tree2 examples will have to be modified as well.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira