mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
make static: remove inappropriate modifiers, add method body if needed (IDEA-197813)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Make 'foo' static" "true"
|
||||
abstract class F {
|
||||
static void foo() {
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
{
|
||||
F.foo();
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Make 'foo' static" "true"
|
||||
abstract class F {
|
||||
abstract void foo();
|
||||
}
|
||||
|
||||
class B {
|
||||
{
|
||||
F.f<caret>oo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user