@SuppressWarnings("unchecked") not needed

This commit is contained in:
Gary Gregory 2022-06-01 15:58:15 -04:00
parent 330ba4d932
commit db4a8b47f0
2 changed files with 0 additions and 2 deletions

View File

@ -94,7 +94,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

@ -80,7 +80,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;
}