mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
[jvm-lang] java: don't create private abstract methods (IDEA-186499)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Create abstract method 'foo' in 'A'" "true"
|
||||
abstract class A {
|
||||
void usage() {
|
||||
foo();
|
||||
}
|
||||
|
||||
protected abstract void foo();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create abstract method 'foo' in 'A'" "true"
|
||||
abstract class A {
|
||||
void usage() {
|
||||
<caret>foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user