mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
update two more queries to better follow the style-guide
This commit is contained in:
@@ -120,6 +120,5 @@ where
|
||||
not probablyNeverEscapes(r) and
|
||||
// The synchronized methods on `Throwable` are not interesting.
|
||||
not call1.getCallee().getDeclaringType() instanceof TypeThrowable
|
||||
select call2,
|
||||
"This uses the state of $@ which is checked $@. But these are not jointly synchronized.", r,
|
||||
r.getName(), call1, "here"
|
||||
select call2, "This uses the state of $@ which $@. But these are not jointly synchronized.", r,
|
||||
r.getName(), call1, "is checked at a previous call"
|
||||
|
||||
Reference in New Issue
Block a user