deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: @SuppressWarning(unchecked) and likes
Date Sat, 11 Aug 2012 15:06:03 GMT
The same goes for @SuppressWarnings("UnusedDeclaration")

Later versions of IDEs with better CDI support will be perfectly able to know that an @Inject
field doesn't need to get set manually.
Same applies to producer methods and fields. We just ditch our capability to detect really
unused fields or methods in later IDE versions.

LieGrue,
strub




----- Original Message -----
> From: Mark Struberg <struberg@yahoo.de>
> To: deltaspike <deltaspike-dev@incubator.apache.org>
> Cc: 
> Sent: Saturday, August 11, 2012 5:01 PM
> Subject: @SuppressWarning(unchecked) and likes
> 
> Hi!
> 
> Is it really necessary to have this suppress annotation in all of our sources? 
> This stuff is most times even IDE specific, and I honestly see no reason for 
> having it.
> 
> If someone doesn't like the warnings in some IDEs, then just disable it in 
> your configuration.
> But I see no reason for instead adding the suppression marker to each and every 
> class. 
> 
> I'm all for +1 to remove it.
> wdyt?
> 
> LieGrue,
> strub
> 

Mime
View raw message