Add @SuppressWarnings

This commit is contained in:
Gary Gregory 2023-03-01 09:49:23 -05:00
parent 588a20b27f
commit be210cfa28
2 changed files with 2 additions and 0 deletions

View File

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