<html> | |
<body> | |
Reports any use of <b>==</b> to test for Number equality, | |
rather than the <b>".equals()"</b> method. With auto-boxing it is easy | |
to make the mistake of comparing two Integer (or other subclass of java.lang.Number) objects instead | |
of two ints. | |
<!-- tooltip end --> | |
<p> | |
</body> | |
</html> |