Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0f4fe7 + a8929b6 commit 6e6880bCopy full SHA for 6e6880b
2 files changed
java/ql/lib/semmle/code/java/security/regexp/NfaUtilsSpecific.qll
@@ -61,7 +61,7 @@ module RegExpFlags {
61
/**
62
* Gets the flags for `root`, or the empty string if `root` has no flags.
63
*/
64
- string getFlags(RegExpTerm root) {
+ deprecated string getFlags(RegExpTerm root) {
65
root.isRootTerm() and
66
result = root.getLiteral().getFlags()
67
}
java/ql/src/Violations of Best Practice/Naming Conventions/Shadowing.qll
@@ -1,9 +1,5 @@
1
import java
2
3
-predicate initializedToField(LocalVariableDecl d, Field f) {
4
- exists(LocalVariableDeclExpr e | e.getVariable() = d and f.getAnAccess() = e.getInit())
5
-}
6
-
7
predicate getterFor(Method m, Field f) {
8
m.getName().matches("get%") and
9
m.getDeclaringType() = f.getDeclaringType() and
0 commit comments