From: "Rebecca Searls" <rsearls(a)redhat.com>
Sent: Tuesday, August 2, 2016 11:15:08 AM
Subject: feedback please [RESTEASY-1463] cleanup bld warnings generics
The resteasy code base generates 228+ compile time "unchecked" warnings
related to generics usage.
I don't think our builds should be polluted with un-addressed warnings,
because it makes it hard to
easily spot real build issues. I have cleaned up these warnings by code
adjustments where possible
and the @SuppressWarnings annotation where code should not or can not be
Please take a few minutes to review the 8 files (listed below) with code
changes. It is helpful
to have other eyes confirm my changes will not break anything before I submit
a pull requst
The 228+ warnings are spread across 88 files. 79 of the 88 files have only a
@SuppressWarnings annotation added to them.
The first 8 files below have code changes to address the warnings.
The last file only has a test addition. It is related to the compiler
only in that the processing of Character and char have the compiler warning.
It seemed like a good idea to add a test for these datatypes.
## Made inner class declarations more correct in generics stmt
## added test for Character and char types.