Skip to content

Commit ea229d3

Browse files
committed
Sync files
1 parent b4542c5 commit ea229d3

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ module AccessPath {
4242
* Parses a lower-bounded interval `n..` and gets the lower bound.
4343
*/
4444
bindingset[arg]
45-
private int parseLowerBound(string arg) {
46-
result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt()
47-
}
45+
int parseLowerBound(string arg) { result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt() }
4846

4947
/**
5048
* Parses an integer constant or interval (bounded or unbounded) that explicitly

java/ql/lib/semmle/code/java/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ module AccessPath {
4242
* Parses a lower-bounded interval `n..` and gets the lower bound.
4343
*/
4444
bindingset[arg]
45-
private int parseLowerBound(string arg) {
46-
result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt()
47-
}
45+
int parseLowerBound(string arg) { result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt() }
4846

4947
/**
5048
* Parses an integer constant or interval (bounded or unbounded) that explicitly

javascript/ql/lib/semmle/javascript/frameworks/data/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ module AccessPath {
4242
* Parses a lower-bounded interval `n..` and gets the lower bound.
4343
*/
4444
bindingset[arg]
45-
private int parseLowerBound(string arg) {
46-
result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt()
47-
}
45+
int parseLowerBound(string arg) { result = arg.regexpCapture("(-?\\d+)\\.\\.", 1).toInt() }
4846

4947
/**
5048
* Parses an integer constant or interval (bounded or unbounded) that explicitly

0 commit comments

Comments
 (0)