@SuppressWarnings("unchecked") not needed
This commit is contained in:
parent
330ba4d932
commit
db4a8b47f0
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue