Skip to content

Commit 790fb78

Browse files
committed
Improve comment and change-note accuracy
1 parent 4a4f4b0 commit 790fb78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
lgtm,codescanning
2-
* Added models for the Apache Commons-Lang `RandomUtils` class. This may lead to extra results from queries that check for proper use of random-number generators or those which check the range of possible random values that could be returned, including `java/improper-validation-of-array-index-code-specified` and `java/uncontrolled-arithmetic`.
2+
* Added models for the Apache Commons Lang `RandomUtils` class. This may lead to extra results from queries that check for proper use of random-number generators or those which check the range of possible random values that could be returned, including `java/improper-validation-of-array-index-code-specified` and `java/uncontrolled-arithmetic`.

java/ql/src/semmle/code/java/security/Random.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ abstract class RandomDataSource extends MethodAccess {
4747

4848
/**
4949
* Gets the integer lower bound, inclusive, of the values returned by this call,
50-
* if applicable to this method's type and a constant bound is known.
50+
* if applicable to this method's type and a bound is known.
5151
*/
5252
Expr getLowerBoundExpr() { none() }
5353

@@ -59,7 +59,7 @@ abstract class RandomDataSource extends MethodAccess {
5959

6060
/**
6161
* Gets the integer upper bound, exclusive, of the values returned by this call,
62-
* if applicable to this method's type and a constant bound is known.
62+
* if applicable to this method's type and a bound is known.
6363
*/
6464
Expr getUpperBoundExpr() { none() }
6565

0 commit comments

Comments
 (0)