style: remove unneeded casts (PR #481)

As detected by Eclipse, and the test case doesn't depend on the explicit casting.
This commit is contained in:
Ahmed Ashour
2019-03-21 15:16:33 +01:00
committed by skylot
parent 74562e6868
commit 988ada3ce9
3 changed files with 4 additions and 4 deletions
@@ -21,13 +21,13 @@ public class TestCF4 extends AbstractTest {
f = null;
c = 2;
testComplexIf("abcdef", 0);
assertEquals(c, (int) 'c');
assertEquals(c, 'c');
d = "";
f = null;
c = 0;
testComplexIf("abcdef", 0);
assertEquals(c, (int) 'a');
assertEquals(c, 'a');
d = "";
f = "1";