+1. Sounds good to me.

John Kaputin


[EMAIL PROTECTED] wrote on 23/11/2007 10:13:57:

> Currently it is possible to construct an NCName without a value and
> construct an NCName with a null String as the param. I think we should
> disallow these by removing the NCName noargs ctor and throw
> IllegalArgumentException in NCName(String) if we're passed a null
> String.
> 
> So then we have:
> 
> NCName n = null;
> or
> NCName n = new NCName("");
> or
> NCName n = new NCName("blah"); // etc
> 
> but not
> 
> NCName n = new NCName(null);
> or
> NCName n = new NCName();
> 
> I've prototyped this and all junits still run. Any objections?
> 
> Cheers,
> Jeremy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to