We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c41de6 commit dcae1c5Copy full SHA for dcae1c5
java/ql/src/Likely Bugs/Concurrency/DateFormatThreadUnsafe.ql
@@ -16,8 +16,6 @@ import java
16
from Field f, Class dateFormat
17
where
18
f.isStatic() and
19
- f.isFinal() and
20
- (f.isPublic() or f.isProtected()) and
21
dateFormat.hasQualifiedName("java.text", "DateFormat") and
22
f.getType().(RefType).hasSupertype*(dateFormat) and
23
exists(MethodAccess m | m.getQualifier().(VarAccess).getVariable() = f)
0 commit comments