Remove unnecessary supress warning for generics

This commit is contained in:
Bruno P. Kinoshita 2019-02-16 21:29:56 +13:00
parent 342b03d1dd
commit 0d892c260a
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public abstract class AbstractMockPredicateTest<T> {
*
* @return a single mock predicate.
*/
@SuppressWarnings({"unchecked", "boxing"})
@SuppressWarnings({"boxing"})
protected final Predicate<T> createMockPredicate(final Boolean returnValue) {
final Predicate<T> mockPredicate = EasyMock.createMock(Predicate.class);
if (returnValue != null) {