blob: 29933a8529f6f506f77c2ef48106ea4d83c311cf [file] [log] [blame]
<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>