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 {
153153 result = this .getProducesExpr ( ) .( CompileTimeConstantExpr ) .getStringValue ( )
154154 }
155155
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" ) }
160158
161159 /** Gets the "value" @RequestMapping annotation array string value, if present. */
162160 string getAValue ( ) { result = requestMappingAnnotation .getAStringArrayValue ( "value" ) }
You can’t perform that action at this time.
0 commit comments