commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@scalaris.com>
Subject Re: [lang] SerializationUtils and generics
Date Thu, 05 Apr 2012 15:38:59 GMT
Hi Gary,

Gary Gregory wrote:

> Hi All:
> 
> I'd like to propose the change below. This lets you get rid of type casts
> in call sites. You'll still get a ClassCastException if you code it wrong
> of course.

+1

> The compiler warning you'll get is valid, so do not think we should
> @SuppressWarning against it.

Suppress it. It is only for us devs and it simply means that we know the 
risk and we accept it.

- Jörg


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


Mime
View raw message