mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
DateFormatThreadUnsafe - Remove requirements for final and access modifiers
This commit is contained in:
@@ -16,8 +16,6 @@ import java
|
||||
from Field f, Class dateFormat
|
||||
where
|
||||
f.isStatic() and
|
||||
f.isFinal() and
|
||||
(f.isPublic() or f.isProtected()) and
|
||||
dateFormat.hasQualifiedName("java.text", "DateFormat") and
|
||||
f.getType().(RefType).hasSupertype*(dateFormat) and
|
||||
exists(MethodAccess m | m.getQualifier().(VarAccess).getVariable() = f)
|
||||
|
||||
Reference in New Issue
Block a user