commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [lang] Lang Bugs
Date Tue, 29 Oct 2002 19:54:09 GMT

Howard Lewis Ship has a bugzilla report pointing out that Enum has a
couple of quirks.

1) You can pass null as the name of an Enum.
2) You can define two different Enums with the same name (and class).

The first seems like a bad thing to me. Does the second matter?
Class obviously should be allowed to be the same, should name be unique?

Hen


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message