commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15439] - Enum does not support inner sub-classes
Date Thu, 19 Dec 2002 14:07:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15439

Enum does not support inner sub-classes





------- Additional Comments From chris.webb@voxsurf.com  2002-12-19 14:07 -------
Yes I agree if the inner sub-class method was just returning a value then
modifying the constructor to take in the value would work because no
sub-classing would be required. My example was probably not the best because I
was thinking more along the lines where the static enum definition contained a
method that encapsulated logic other than merely returning a value which would
require sub-classing.

--
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