Skip to content

Commit ae83d56

Browse files
committed
PS: Rename predicate.
1 parent f69cfdc commit ae83d56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPrivate.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,12 +468,12 @@ class NamedSet extends NamedSet0 {
468468
/** Holds if this is the empty set. */
469469
predicate isEmpty() { this = TEmptyNamedSet() }
470470

471-
/** Gets a name in this set. */
472-
string getAName() { this.asNonEmpty().contains(result) }
471+
/** Gets a lower-case name in this set. */
472+
string getALowerCaseName() { this.asNonEmpty().contains(result) }
473473

474474
/** Gets the textual representation of this set. */
475475
string toString() {
476-
result = "{" + strictconcat(this.getAName(), ", ") + "}"
476+
result = "{" + strictconcat(this.getALowerCaseName(), ", ") + "}"
477477
or
478478
this.isEmpty() and
479479
result = "{}"
@@ -566,7 +566,7 @@ private module ParameterNodes {
566566
f = parameter.getFunction() and
567567
f = ns.getAFunction() and
568568
name = parameter.getLowerCaseName() and
569-
not name = ns.getAName() and
569+
not name = ns.getALowerCaseName() and
570570
j =
571571
i -
572572
count(int k, Parameter p |

0 commit comments

Comments
 (0)