mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
28 lines
589 B
Java
28 lines
589 B
Java
import org.apache.logging.log4j.Logger;
|
|
|
|
interface TokenSequenceParserConstants {
|
|
/** Literal token values. */
|
|
String[] tokenImage = {
|
|
"<EOF>",
|
|
};
|
|
}
|
|
|
|
public class TokenSequenceParserTest implements TokenSequenceParserConstants {
|
|
void test(String password) {
|
|
Logger logger = null;
|
|
|
|
logger.info("When parsing found this: " + tokenImage[0]); // Safe
|
|
}
|
|
|
|
}
|
|
|
|
class ParseExceptionTest extends Exception {
|
|
String[] tokenImage;
|
|
|
|
void test() {
|
|
Logger logger = null;
|
|
|
|
logger.info("When parsing found this: " + tokenImage[0]); // Safe
|
|
}
|
|
}
|