Fix codescanning alerts

This commit is contained in:
Joe Farebrother
2022-05-04 15:58:30 +01:00
parent c7d30087d1
commit 64227c9109
3 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import semmle.code.java.security.performance.PolynomialReDoSQuery
class HasPolyRedos extends InlineExpectationsTest {
HasPolyRedos() { this = "HasPolyRedos" }
override string getARelevantTag() { result = ["hasPolyRedos"] }
override string getARelevantTag() { result = "hasPolyRedos" }
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "hasPolyRedos" and