mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Migrate Java code to separate QL repo.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
public class Test {
|
||||
@Deprecated
|
||||
void m() {}
|
||||
|
||||
@Deprecated
|
||||
void n() {
|
||||
// OK
|
||||
m();
|
||||
}
|
||||
|
||||
{
|
||||
// NOT OK
|
||||
m();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
// NOT OK
|
||||
new Test().n();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user