Re: checking casts



Oliver Wong wrote:

Alternatively, you could add:

@SuppressWarnings("unchecked")

Perhaps it was a good idea that javac doesn't initially support SuppressWarnings. Hopefully it should have encouraged programmers to adopt idioms that don't cause warnings, rather than treating the symptoms.


Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.