We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ea7a5 commit 209686dCopy full SHA for 209686d
java/ql/lib/semmle/code/java/frameworks/spring/SpringController.qll
@@ -154,9 +154,7 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
154
}
155
156
/** Gets the "value" @RequestMapping annotation value, if present. */
157
- string getValue() {
158
- result = requestMappingAnnotation.getStringValue("value")
159
- }
+ string getValue() { result = requestMappingAnnotation.getStringValue("value") }
160
161
/** Holds if this is considered an `@ResponseBody` method. */
162
predicate isResponseBody() {
0 commit comments