Do not suggest "convert to object" for sealed sub-classes with state

So #KT-24816 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-08 14:45:45 +03:00
parent 813d7fcb6a
commit a09f6e14a5
8 changed files with 118 additions and 3 deletions
@@ -1,5 +1,5 @@
<html>
<body>
This inspection reports direct inheritors of <b>sealed class</b> that have default constructors only and thus can be objects.
This inspection reports direct inheritors of <b>sealed class</b> that have no state and thus can be objects.
</body>
</html>