@@ -81,7 +81,7 @@ class PlayController extends Class {
81
81
* Example - class gets `index` and `login` as valid action methods.
82
82
* ```java
83
83
* public class Application extends Controller {
84
- * public Result index(String username, String password) {
84
+ * public Result index(String username, String password) {
85
85
* return ok("It works!");
86
86
* }
87
87
*
@@ -103,15 +103,15 @@ class PlayControllerActionMethod extends Method {
103
103
}
104
104
105
105
/**
106
- * The PlayFramework action method parameters, these are a source of user input.
106
+ * A Play framework action method parameter. These are a source of user input.
107
107
*
108
- * Example - `username` & `password` are marked as valid parameters.
109
- * ```
110
- * public class Application extends Controller {
111
- * public Result index(String username, String password) {
112
- * return ok("It works!");
113
- * }
114
- * }
108
+ * Example - `username` and `password` are action method parameters.
109
+ * ```java
110
+ * public class Application extends Controller {
111
+ * public Result index(String username, String password) {
112
+ * return ok("It works!");
113
+ * }
114
+ * }
115
115
* ```
116
116
*/
117
117
class PlayActionMethodQueryParameter extends Parameter {
@@ -130,7 +130,7 @@ class PlayMvcHttpRequestHeaderMethods extends Method {
130
130
PlayMvcHttpRequestHeaderMethods ( ) { this .getDeclaringType ( ) instanceof PlayMvcHttpRequestHeader }
131
131
132
132
/**
133
- * A reference to the `getQueryString` method.
133
+ * Gets a reference to the `getQueryString` method.
134
134
*/
135
135
MethodAccess getAQueryStringAccess ( ) {
136
136
this .hasName ( "getQueryString" ) and result = this .getAReference ( )
@@ -144,12 +144,12 @@ class PlayMvcResultsMethods extends Method {
144
144
PlayMvcResultsMethods ( ) { this .getDeclaringType ( ) instanceof PlayMvcResultsClass }
145
145
146
146
/**
147
- * A reference to the play.mvc.Results ` ok` method.
147
+ * Gets a reference to the ` play.mvc.Results. ok` method.
148
148
*/
149
149
MethodAccess getAnOkAccess ( ) { this .hasName ( "ok" ) and result = this .getAReference ( ) }
150
150
151
151
/**
152
- * A reference to the play.mvc.Results ` redirect` method.
152
+ * Gets a reference to the ` play.mvc.Results. redirect` method.
153
153
*/
154
154
MethodAccess getARedirectAccess ( ) { this .hasName ( "redirect" ) and result = this .getAReference ( ) }
155
155
}
0 commit comments