Merge pull request #132 from max-schaefer/extends-this-class

Fix copy-pasted typo.
This commit is contained in:
Max Schaefer
2020-05-06 19:42:55 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ import semmle.go.dataflow.FunctionInputsAndOutputs
* A data-flow node that executes an operating system command,
* for instance by spawning a new process.
*
* Extends this class to refine existing API models. If you want to model new APIs,
* Extend this class to refine existing API models. If you want to model new APIs,
* extend `SystemCommandExecution::Range` instead.
*/
class SystemCommandExecution extends DataFlow::Node {

View File

@@ -9,7 +9,7 @@ module StringOps {
/**
* An expression that is equivalent to `strings.HasPrefix(A, B)` or `!strings.HasPrefix(A, B)`.
*
* Extends this class to refine existing API models. If you want to model new APIs,
* Extend this class to refine existing API models. If you want to model new APIs,
* extend `StringOps::HasPrefix::Range` instead.
*/
class HasPrefix extends DataFlow::Node {
@@ -43,7 +43,7 @@ module StringOps {
/**
* An expression that is equivalent to `strings.HasPrefix(A, B)` or `!strings.HasPrefix(A, B)`.
*
* Extends this class to model new APIs. If you want to refine existing API models, extend
* Extend this class to model new APIs. If you want to refine existing API models, extend
* `StringOps::HasPrefix` instead.
*/
abstract class Range extends DataFlow::Node {

View File

@@ -9,7 +9,7 @@ module SQL {
/**
* A data-flow node whose string value is interpreted as (part of) a SQL query.
*
* Extends this class to refine existing API models. If you want to model new APIs,
* Extend this class to refine existing API models. If you want to model new APIs,
* extend `SQL::QueryString::Range` instead.
*/
class QueryString extends DataFlow::Node {