On 04/03/2009, at 11:13 AM, Mike Schrag wrote:
>> always been intrigued by why there's two separate options for
>> 'Boolean' and 'YES/NO' in the value set combo. What's the difference?
>
> if ("Boolean".equals(defaultsName)) {
> validValues.add("true");
> validValues.add("false");
> }
> else if ("YES/NO".equals(defaultsName)) {
> validValues.add("yes");
> validValues.add("no");
> }
Okay thanks. Perhaps a little bit too much attention being paid to
booleans ;-)
I would have thought that Boolean could allow all these values where
yes/no are supported for legacy reasons.
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Tue Mar 03 2009 - 19:43:35 EST