mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Add more test cases
This commit is contained in:
@@ -1 +1,3 @@
|
||||
| Test.java:13:15:13:16 | f2 | Empty method found. |
|
||||
| Test.java:27:17:27:17 | f | Empty method found. |
|
||||
| Test.java:32:18:32:23 | method | Empty method found. |
|
||||
|
||||
@@ -21,4 +21,15 @@ public class Test {
|
||||
public abstract void f();
|
||||
}
|
||||
|
||||
public class Derived extends TestInner {
|
||||
|
||||
@Override
|
||||
public void f() { } // $ Alert
|
||||
}
|
||||
|
||||
public interface TestInterface {
|
||||
|
||||
default void method() { } // $ Alert
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user