Skip to content
Permalink
Browse files
Add @SuppressWarnings("unchecked")
  • Loading branch information
garydgregory committed May 15, 2022
1 parent 07f4eaa commit 9f1ac974e1b52c58b1950acdaaf3e0d5881409df
Showing 2 changed files with 2 additions and 0 deletions.
@@ -94,6 +94,7 @@ public static <L, R> Pair<L, R> left(final L left) {
* @return an immutable pair of nulls.
* @since 3.6
*/
@SuppressWarnings("unchecked")
public static <L, R> ImmutablePair<L, R> nullPair() {
return NULL;
}
@@ -80,6 +80,7 @@ public static <L, M, R> ImmutableTriple<L, M, R>[] emptyArray() {
* @return an immutable triple of nulls.
* @since 3.6
*/
@SuppressWarnings("unchecked")
public static <L, M, R> ImmutableTriple<L, M, R> nullTriple() {
return NULL;
}

0 comments on commit 9f1ac97

Please sign in to comment.