Make query more accepting

This commit is contained in:
Tamas Vajk
2025-03-07 10:56:17 +01:00
parent 4bf26afca0
commit 349f48982a
3 changed files with 12 additions and 16 deletions

View File

@@ -1,3 +1 @@
| 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. |

View File

@@ -24,12 +24,16 @@ public class Test {
public class Derived extends TestInner {
@Override
public void f() { } // $ Alert
public void f() {
}
public native int nativeMethod();
}
public interface TestInterface {
default void method() { } // $ Alert
default void method() {
}
}
}