thanks, I'm going to add this to the javadoc ;)
On 8/29/07, Mark Hobson <[EMAIL PROTECTED]> wrote:
> On 21/08/2007, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > Why DependencyNode.getDepth was deprecated? it's still useful
>
> Sorry for the delayed reply - working my way though my inbox..
>
> It was deprecated with the introduction of node visitors and filters
> since it can give misleading results. For example, consider
> serialising a tree with a filter using a visitor: getDepth would
> return the unfiltered depth of a node, whereas the correct depth would
> be calculated by the visitor.
>
> Cheers,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]