15 lines
275 B
HTML
15 lines
275 B
HTML
<html>
|
|
<body>
|
|
This inspection reports recursive <b>equals</b> calls. For example:
|
|
<br /><br />
|
|
|
|
<pre>
|
|
class X {
|
|
override fun equals(other: Any?): Boolean {
|
|
if (this == other) return true // recursive equals call
|
|
return false
|
|
}
|
|
}
|
|
</pre>
|
|
</body>
|
|
</html> |