"Redundant overriding method" inspection: do not report when overriding package private method

#KT-33153 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-06 09:31:18 +09:00
committed by Dmitry Gridin
parent 25799447a6
commit 92dcb54207
4 changed files with 24 additions and 7 deletions
@@ -0,0 +1,5 @@
public class Foo {
void foo() {
// nothing
}
}
@@ -0,0 +1,6 @@
// PROBLEM: none
class Bar : Foo() {
<caret>override fun foo() {
super.foo()
}
}