mirror of
https://github.com/github/codeql.git
synced 2026-03-01 21:34:50 +01:00
Naming Fixes
This commit is contained in:
@@ -35,7 +35,7 @@ class PlayControllerActionMethod extends Method {
|
||||
this = controller.getAMethod() and
|
||||
(
|
||||
this.getReturnType() instanceof PlayAsyncResultPromise or
|
||||
this.getReturnType() instanceof PlayMVCResult or
|
||||
this.getReturnType() instanceof PlayMVCResultClass or
|
||||
this.getReturnType() instanceof PlayAsyncResultCompletionStage
|
||||
)
|
||||
)
|
||||
|
||||
@@ -6,6 +6,6 @@ import java
|
||||
* @description Gets the play.mvc.Result class - Used to set a HTTP result with a status code, a set of HTTP headers and a body to be sent to the web client.
|
||||
* (https://www.playframework.com/documentation/2.8.x/JavaActions)
|
||||
*/
|
||||
class PlayMVCResult extends Class {
|
||||
PlayMVCResult() { this.hasQualifiedName("play.mvc", "Result") }
|
||||
class PlayMVCResultClass extends Class {
|
||||
PlayMVCResultClass() { this.hasQualifiedName("play.mvc", "Result") }
|
||||
}
|
||||
|
||||
@@ -6,8 +6,8 @@ import java
|
||||
* @description Gets the play.mvc.Results class - Helper utilities to generate results
|
||||
* (https://www.playframework.com/documentation/2.8.x/JavaActions)
|
||||
*/
|
||||
class PlayMVCResults extends Class {
|
||||
PlayMVCResults() { this.hasQualifiedName("play.mvc", "Results") }
|
||||
class PlayMVCResultsClass extends Class {
|
||||
PlayMVCResultsClass() { this.hasQualifiedName("play.mvc", "Results") }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -17,7 +17,7 @@ class PlayMVCResults extends Class {
|
||||
* (https://www.playframework.com/documentation/2.5.8/api/java/play/mvc/Results.html)
|
||||
*/
|
||||
class PlayHTTPResultsMethods extends Method {
|
||||
PlayHTTPResultsMethods() { this.getDeclaringType() instanceof PlayMVCResults }
|
||||
PlayHTTPResultsMethods() { this.getDeclaringType() instanceof PlayMVCResultsClass }
|
||||
|
||||
/**
|
||||
* Gets all references to play.mvc.Results ok method
|
||||
|
||||
Reference in New Issue
Block a user