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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user