mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Do not accept empty default methods
This commit is contained in:
@@ -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. |
|
||||
|
||||
@@ -32,8 +32,7 @@ public class Test {
|
||||
|
||||
public interface TestInterface {
|
||||
|
||||
default void method() {
|
||||
}
|
||||
default void method() { } // $ Alert
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user