[jdom-interest] Attribute.getQualifiedName optimization [eg?]

Jason Hunter jhunter at collab.net
Fri Apr 13 14:52:36 PDT 2001


Joseph Bowbeer wrote:
> 
> Here's an slight but perhaps significant optimization for
> Attribute.getQualifiedName.

Good optimization, esp since no namespace prefix is the common case. 
I've checked it in.

> 2. What's the policy for calling accessors as opposed to accessing the
> fields directly?  In the proposed code, I have getQualifiedName invoke
> getName in order to be more subclass-friendly.

I thought you were going to report on what the right policy should be. 
:-)

-jh-



More information about the jdom-interest mailing list