mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
[jvm-lang] java: don't create private abstract methods (IDEA-186499)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Create abstract method 'foo' in 'A'" "true"
|
||||
abstract class A {
|
||||
void usage() {
|
||||
foo();
|
||||
}
|
||||
|
||||
protected abstract void foo();
|
||||
}
|
||||
+6
@@ -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