diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java index 19042bd45..91510915b 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java @@ -80,7 +80,6 @@ public final class ImmutableTriple extends Triple { * @return an immutable triple of nulls. * @since 3.6 */ - @SuppressWarnings("unchecked") public static ImmutableTriple nullTriple() { return NULL; } diff --git a/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java b/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java index 59a79a613..af117e9d3 100644 --- a/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java +++ b/src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java @@ -193,7 +193,6 @@ public class ImmutablePairTest { } @Test - @SuppressWarnings("unchecked") public void testSerialization() throws Exception { final ImmutablePair origPair = ImmutablePair.of(0, "foo"); final ImmutablePair deserializedPair = SerializationUtils.roundtrip(origPair); diff --git a/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java b/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java index ddaea459d..927e719c2 100644 --- a/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java +++ b/src/test/java/org/apache/commons/lang3/tuple/ImmutableTripleTest.java @@ -131,7 +131,6 @@ public class ImmutableTripleTest { } @Test - @SuppressWarnings("unchecked") public void testSerialization() throws Exception { final ImmutableTriple origTriple = ImmutableTriple.of(0, "foo", Boolean.TRUE); final ImmutableTriple deserializedTriple = SerializationUtils.roundtrip(origTriple); diff --git a/src/test/java/org/apache/commons/lang3/tuple/MutableTripleTest.java b/src/test/java/org/apache/commons/lang3/tuple/MutableTripleTest.java index 059ee8baf..b4a47c64e 100644 --- a/src/test/java/org/apache/commons/lang3/tuple/MutableTripleTest.java +++ b/src/test/java/org/apache/commons/lang3/tuple/MutableTripleTest.java @@ -105,7 +105,6 @@ public class MutableTripleTest { } @Test - @SuppressWarnings("unchecked") public void testSerialization() throws Exception { final MutableTriple origTriple = MutableTriple.of(0, "foo", Boolean.TRUE); final MutableTriple deserializedTriple = SerializationUtils.roundtrip(origTriple);