Skip to content

Commit 209686d

Browse files
authored
Apply suggestions from code review
Autoformat
1 parent 31ea7a5 commit 209686d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

java/ql/lib/semmle/code/java/frameworks/spring/SpringController.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
154154
}
155155

156156
/** Gets the "value" @RequestMapping annotation value, if present. */
157-
string getValue() {
158-
result = requestMappingAnnotation.getStringValue("value")
159-
}
157+
string getValue() { result = requestMappingAnnotation.getStringValue("value") }
160158

161159
/** Holds if this is considered an `@ResponseBody` method. */
162160
predicate isResponseBody() {

0 commit comments

Comments
 (0)