[jdom-interest] Attribute constructor removal [eg]

Guy Nirpaz guyn at tantian.com
Thu Mar 8 00:39:16 PST 2001

+1 for removal


> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Thu, March 08, 2001 9: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