mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
move members: show conflict if non-final field is moved to interface
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
public interface A {
|
||||
|
||||
String ONE = "";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class B {
|
||||
|
||||
void foo() {
|
||||
A.ONE = "foo";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public interface A {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class B {
|
||||
public static String ONE = "";
|
||||
|
||||
void foo() {
|
||||
ONE = "foo";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user