mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Deprecate SpringRequestMappingMethod.getValue (which didn't work)
This commit is contained in:
@@ -153,10 +153,8 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
|
||||
result = this.getProducesExpr().(CompileTimeConstantExpr).getStringValue()
|
||||
}
|
||||
|
||||
/** Gets the "value" @RequestMapping annotation value, if present. */
|
||||
string getValue() { result = requestMappingAnnotation.getStringValue("value") }
|
||||
|
||||
|
||||
/** DEPRECATED: Use `getAValue()` instead. */
|
||||
deprecated string getValue() { result = requestMappingAnnotation.getStringValue("value") }
|
||||
|
||||
/** Gets the "value" @RequestMapping annotation array string value, if present. */
|
||||
string getAValue() { result = requestMappingAnnotation.getAStringArrayValue("value") }
|
||||
|
||||
Reference in New Issue
Block a user