File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
java/ql/lib/semmle/code/java/frameworks/spring Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,8 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
153
153
result = this .getProducesExpr ( ) .( CompileTimeConstantExpr ) .getStringValue ( )
154
154
}
155
155
156
- /** Gets the "value" @RequestMapping annotation value, if present. */
157
- string getValue ( ) { result = requestMappingAnnotation .getStringValue ( "value" ) }
158
-
159
-
156
+ /** DEPRECATED: Use `getAValue()` instead. */
157
+ deprecated string getValue ( ) { result = requestMappingAnnotation .getStringValue ( "value" ) }
160
158
161
159
/** Gets the "value" @RequestMapping annotation array string value, if present. */
162
160
string getAValue ( ) { result = requestMappingAnnotation .getAStringArrayValue ( "value" ) }
You can’t perform that action at this time.
0 commit comments