Don't need @SuppressWarnings("unchecked")

This commit is contained in:
Gary Gregory 2019-05-09 14:27:32 -04:00
parent e9626144dc
commit daf3dacd2c
2 changed files with 0 additions and 2 deletions

View File

@ -51,7 +51,6 @@ public final class ImmutablePair<L, R> extends Pair<L, R> {
* @return an immutable pair of nulls.
* @since 3.6
*/
@SuppressWarnings("unchecked")
public static <L, R> ImmutablePair<L, R> nullPair() {
return NULL;
}

View File

@ -53,7 +53,6 @@ public final class ImmutableTriple<L, M, R> extends Triple<L, M, R> {
* @return an immutable triple of nulls.
* @since 3.6
*/
@SuppressWarnings("unchecked")
public static <L, M, R> ImmutableTriple<L, M, R> nullTriple() {
return NULL;
}