We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SpringRequestMappingMethod.getValue
1 parent 708bbe3 commit 59d4f03Copy full SHA for 59d4f03
1 file changed
java/ql/lib/semmle/code/java/frameworks/spring/SpringController.qll
@@ -153,10 +153,8 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
153
result = this.getProducesExpr().(CompileTimeConstantExpr).getStringValue()
154
}
155
156
- /** Gets the "value" @RequestMapping annotation value, if present. */
157
- string getValue() { result = requestMappingAnnotation.getStringValue("value") }
158
-
159
+ /** DEPRECATED: Use `getAValue()` instead. */
+ deprecated string getValue() { result = requestMappingAnnotation.getStringValue("value") }
160
161
/** Gets the "value" @RequestMapping annotation array string value, if present. */
162
string getAValue() { result = requestMappingAnnotation.getAStringArrayValue("value") }
0 commit comments