[jdom-interest] Attribute constructor removal [eg]

Brett McLaughlin brett at newInstance.com
Thu Mar 8 19:37:25 PST 2001

I'm OK with the removal, pending thoughts from others...


> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Thursday, March 08, 2001 1: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/yourad
> dr at yourhost.com

More information about the jdom-interest mailing list