Java: Don't specify visibility for extracted method declared in an interface (IDEA-196426)

This commit is contained in:
Pavel Dolgov
2018-08-02 16:29:56 +03:00
parent 4fdbf3889b
commit 8f53696f2f
7 changed files with 72 additions and 5 deletions
@@ -4,7 +4,7 @@ interface I {
String FOO = newMethod();
@NotNull
private static String newMethod() {
static String newMethod() {
return "hello";
}
}