Remove @SuppressWarnings no longer needed.

This commit is contained in:
Gary Gregory 2021-02-21 12:05:08 -05:00
parent 5f8c016707
commit 5c7749d18f
1 changed files with 0 additions and 2 deletions

View File

@ -894,7 +894,6 @@ public class ToStringBuilderTest {
assertEquals(baseStr + "[a=3,b=4]", new ToStringBuilder(base).append("a", 3L).append("b", 4L).toString());
}
@SuppressWarnings("cast") // cast is not really needed, keep for consistency
@Test
public void testInt() {
assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(3).toString());
@ -923,7 +922,6 @@ public class ToStringBuilderTest {
assertEquals(baseStr + "[a=3,b=4]", new ToStringBuilder(base).append("a", (byte) 3).append("b", (byte) 4).toString());
}
@SuppressWarnings("cast")
@Test
public void testDouble() {
assertEquals(baseStr + "[3.2]", new ToStringBuilder(base).append(3.2).toString());