mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
use more set literals
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
/**
|
||||
* Some commonly used HTTP verbs.
|
||||
*/
|
||||
string httpVerb() {
|
||||
result = "get" or
|
||||
result = "put" or
|
||||
result = "post" or
|
||||
result = "delete"
|
||||
}
|
||||
string httpVerb() { result = ["get", "put", "post", "delete"] }
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
import javascript
|
||||
|
||||
string httpVerb() {
|
||||
result = "get" or
|
||||
result = "put" or
|
||||
result = "post" or
|
||||
result = "delete"
|
||||
}
|
||||
string httpVerb() { result = ["get", "put", "post", "delete"] }
|
||||
|
||||
/** A RAML specification. */
|
||||
class RAMLSpec extends YAMLDocument, YAMLMapping {
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
import javascript
|
||||
|
||||
string httpVerb() {
|
||||
result = "get" or
|
||||
result = "put" or
|
||||
result = "post" or
|
||||
result = "delete"
|
||||
}
|
||||
string httpVerb() { result = ["get", "put", "post", "delete"] }
|
||||
|
||||
/** A RAML specification. */
|
||||
class RAMLSpec extends YAMLDocument, YAMLMapping {
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
import javascript
|
||||
|
||||
string httpVerb() {
|
||||
result = "get" or
|
||||
result = "put" or
|
||||
result = "post" or
|
||||
result = "delete"
|
||||
}
|
||||
string httpVerb() { result = ["get", "put", "post", "delete"] }
|
||||
|
||||
/** A RAML specification. */
|
||||
class RAMLSpec extends YAMLDocument, YAMLMapping {
|
||||
|
||||
Reference in New Issue
Block a user