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 <[email protected]>
> To: deltaspike <[email protected]>
> 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
>