Explicit equals method for primitives and correct global equals method.

Includes cosmetics.
#KT-2372 Fixed
This commit is contained in:
Pavel V. Talanov
2012-07-18 17:15:27 +04:00
parent e0651de9ed
commit b45c14b0ab
9 changed files with 52 additions and 28 deletions
@@ -22,7 +22,7 @@ public final class EqualsTest extends AbstractExpressionTest {
super("equals/");
}
public void TODO_testCustomEqualsMethodOnAny() throws Exception {
public void testCustomEqualsMethodOnAny() throws Exception {
fooBoxTest();
}
@@ -34,6 +34,10 @@ public final class EqualsTest extends AbstractExpressionTest {
fooBoxTest();
}
public void testExplicitEqualsMethodForPrimitives() throws Exception {
fooBoxTest();
}
public void testStringsEqual() throws Exception {
fooBoxTest();
}