On Mon, Sep 5, 2011 at 6:13 AM, Josh Canfield <[email protected]> wrote:
> I'm working on TAP5-1621, adding Object -> Boolean type coercer. There > is a unit test that specifically tests that toString() returning null > results in false. Introducing Object->Boolean breaks this because it > only returns false if the actual Object is false. > > Does anyone care about supporting null from toString() in this way? I would say that that would return true only if the string is equalsIngoreCase "true" otherwise false... something along the line of Boolean.valueOf() -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
