Protected in final inspection: protected modifier is effectively private in final classes #KT-6674 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
20bac6178c
commit
a541aaafd8
@@ -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>
|
||||
Reference in New Issue
Block a user