Add @SuppressWarnings
This commit is contained in:
parent
588a20b27f
commit
be210cfa28
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue