Skip to content

Commit 03c46c9

Browse files
committed
autoformat
1 parent b020044 commit 03c46c9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

javascript/ql/src/semmle/javascript/security/performance/PolynomialReDoSCustomizations.qll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module PolynomialReDoS {
1313
*/
1414
abstract class Source extends DataFlow::Node {
1515
/**
16-
* Gets the kind of source that is being accesed. See `HTTP::RequestInputAccess::getKind()`.
16+
* Gets the kind of source that is being accesed. See `HTTP::RequestInputAccess::getKind()`.
1717
* Can be one of "parameter", "header", "body", "url", "cookie".
1818
*/
1919
abstract string getKind();
@@ -38,9 +38,7 @@ module PolynomialReDoS {
3838
class RequestInputAccessAsSource extends Source {
3939
RequestInputAccessAsSource() { this instanceof HTTP::RequestInputAccess }
4040

41-
override string getKind() {
42-
result = this.(HTTP::RequestInputAccess).getKind()
43-
}
41+
override string getKind() { result = this.(HTTP::RequestInputAccess).getKind() }
4442
}
4543

4644
/**

0 commit comments

Comments
 (0)