Skip to content

Commit bec381a

Browse files
committed
remove unused predicate from NfaUtilsSpecific.qll
1 parent 91f9e89 commit bec381a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

java/ql/lib/semmle/code/java/security/regexp/NfaUtilsSpecific.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ module RegExpFlags {
5858
root.getLiteral().isIgnoreCase()
5959
}
6060

61-
/**
62-
* Gets the flags for `root`, or the empty string if `root` has no flags.
63-
*/
64-
string getFlags(RegExpTerm root) {
65-
root.isRootTerm() and
66-
result = root.getLiteral().getFlags()
67-
}
68-
6961
/**
7062
* Holds if `root` has the `s` flag for multi-line matching.
7163
*/

0 commit comments

Comments
 (0)