Skip to content

Commit 4ef9a6c

Browse files
committed
Python: Add missing override annotation
1 parent c9537f2 commit 4ef9a6c

File tree

1 file changed

+1
-1
lines changed
  • python/ql/src/semmle/python/security/injection

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/security/injection/Xml.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private class ExpatCreateParser extends TaintSource {
3232

3333
override predicate isSourceOf(TaintKind kind) { kind instanceof ExpatParser }
3434

35-
string toString() { result = "expat.create.parser" }
35+
override string toString() { result = "expat.create.parser" }
3636
}
3737

3838
private FunctionObject xmlFromString() {

0 commit comments

Comments
 (0)