Protected in final inspection: protected modifier is effectively private in final classes #KT-6674 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-03-25 14:24:49 +03:00
committed by Mikhail Glukhikh
parent 20bac6178c
commit a541aaafd8
14 changed files with 200 additions and 1 deletions
@@ -0,0 +1,6 @@
<html>
<body>
This inspection reports <code>protected</code> visibility used inside of a non-inheritable class.
<code>protected</code> members is accessible only in the class itself in such a case, so they are effectively <code>private</code>.
</body>
</html>