Skip to content

Commit 52dd247

Browse files
committed
Removed redundant cast
1 parent 09c97ce commit 52dd247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/experimental/UnicodeBypassValidationQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class Configuration extends TaintTracking::Configuration {
114114
.getMember("Chars")
115115
.getMethod("new")
116116
.getCallNode() and
117-
n = cn.(DataFlow::CallNode).getAMethodCall("normalize") and
117+
n = cn.getAMethodCall("normalize") and
118118
sink = cn.getArgument(0)
119119
)
120120
) and

0 commit comments

Comments
 (0)