Inspections: Add inspection on equals()/hashCode()
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports classes that override equals() but do not override hashCode(), or vice versa, which could potentially lead to problems when class is added to a Collection.
|
||||
It also reports object declarations which override either equals() or hashCode()
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user