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
@@ -3,7 +3,7 @@ interface I {
newMethod();
}
private static void newMethod() {
static void newMethod() {
System.out.println("hello");
}
}