[jdom-interest] Attribute constructor removal [eg]

Van Dooren, Damian VanDoorenD at icfg.com
Thu Mar 8 04:30:51 PST 2001


+1 for removal.

> -----Original Message-----
> From: Jason Hunter [mailto:jhunter at collab.net]
> Sent: Thursday, March 08, 2001 2:25 AM
> To: JDOM Interest
> Subject: [jdom-interest] Attribute constructor removal [eg]
> 
> 
> Here's an item hanging in the TODO that I'd like to have 
> closure on.  In
> Attribute we have the following constructors:
> 
> public Attribute(String name, String value, Namespace namespace)
> public Attribute(String name, String prefix, String uri, String value)
> public Attribute(String name, String value)
> 
> The parameter order of the second constructor clearly doesn't 
> follow the
> right pattern.  I'd like to propose removing the constructor
> (deprecating it for one beta cycle).  I don't think it 
> provides any real
> value considering we have the first.  I doubt anyone uses it, 
> or else we
> would have gotten complaints about the order.  :-)
> 
> Rearranging parameter order is an option, but it'd cause odd problems
> for people because the old and new sigs would be identical but the
> behavior would change.
> 
> Any objections to its removal?
> 
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list