Do not accept empty default methods

This commit is contained in:
Tamas Vajk
2025-03-12 10:37:37 +01:00
parent 77400778ea
commit 3d4fcefe70
4 changed files with 3 additions and 5 deletions

View File

@@ -1 +1,2 @@
| Test.java:13:15:13:16 | f2 | This empty method should be completed. |
| Test.java:35:18:35:23 | method | This empty method should be completed. |

View File

@@ -32,8 +32,7 @@ public class Test {
public interface TestInterface {
default void method() {
}
default void method() { } // $ Alert
}
}