What is the hash of a null-type attribute value?

Cantor, Scott cantor.2 at osu.edu
Thu Nov 7 14:57:14 EST 2019


On 11/7/19, 2:15 PM, "dev on behalf of Rod Widdowson" <dev-bounces at shibboleth.net on behalf of rdw at steadingsoftware.com> wrote:

> But the point is that enum.toString() is not defined (AFAIK) and even if it is, it contains the full class name - just like the
> raw thing currently does. That leads to fragility at an API change...

Obviously it doesn't have to contain the raw class name since we can implement toString ourselves, but I think it's generally understood that toString shouldn't be used for much besides object dumping/debugging, and explicit methods ought to be used for anything meaningful.

-- Scott




More information about the dev mailing list