Don't need @SuppressWarnings("unchecked")
This commit is contained in:
parent
e9626144dc
commit
daf3dacd2c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue