Skip to content

Commit 394c82d

Browse files
authored
Apply suggestions from code review
Adjust qldoc.
1 parent 14ec148 commit 394c82d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

java/ql/src/semmle/code/java/frameworks/spring/SpringWeb.qll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@ class SpringNativeWebRequest extends Class {
1818
}
1919
}
2020

21-
/** Models Spring `servlet` as well as `portlet` package's `ModelAndView` class. */
21+
/**
22+
* A Spring `ModelAndView` class. This is either
23+
* `org.springframework.web.servlet.ModelAndView` or
24+
* `org.springframework.web.portlet.ModelAndView`.
25+
*/
2226
class ModelAndView extends Class {
2327
ModelAndView() {
2428
hasQualifiedName(["org.springframework.web.servlet", "org.springframework.web.portlet"],
2529
"ModelAndView")
2630
}
2731
}
2832

29-
/** Models a call to the Spring `ModelAndView` class's `setViewName` method. */
33+
/** A call to the Spring `ModelAndView.setViewName` method. */
3034
class SpringModelAndViewSetViewNameCall extends MethodAccess {
3135
SpringModelAndViewSetViewNameCall() {
3236
getMethod().getDeclaringType() instanceof ModelAndView and

0 commit comments

Comments
 (0)