mirror of
https://github.com/github/codeql.git
synced 2026-06-13 08:51:20 +02:00
15 lines
255 B
Java
15 lines
255 B
Java
public class InternalDeadCodeCycle {
|
|
|
|
public void foo() { // $ Alert
|
|
bar();
|
|
}
|
|
|
|
public void bar() { // $ Alert
|
|
foo();
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
// Ensure the class is live, otherwise the dead methods will not be reported.
|
|
}
|
|
}
|