mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Java: Minor perf fix.
This commit is contained in:
@@ -8,6 +8,7 @@ import java
|
||||
* A file detected as generated by the Apache Thrift Compiler.
|
||||
*/
|
||||
class ThriftGeneratedFile extends GeneratedFile {
|
||||
cached
|
||||
ThriftGeneratedFile() {
|
||||
exists(JavadocElement t | t.getFile() = this |
|
||||
exists(string msg | msg = t.getText() | msg.regexpMatch("(?i).*\\bAutogenerated by Thrift.*"))
|
||||
|
||||
Reference in New Issue
Block a user