Skip to content

Commit

Permalink
Improve naming of method argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ggalmazor committed Mar 9, 2020
1 parent 1b41336 commit d5e9200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/javarosa/core/model/TriggerableDag.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ public TriggerableDag(EventNotifierAccessor accessor) {
this.accessor = accessor;
}

private Set<QuickTriggerable> doEvaluateTriggerables(FormInstance mainInstance, EvaluationContext evalContext, Set<QuickTriggerable> tv, TreeReference anchorRef, Set<QuickTriggerable> alreadyEvaluated) {
private Set<QuickTriggerable> doEvaluateTriggerables(FormInstance mainInstance, EvaluationContext evalContext, Set<QuickTriggerable> triggerables, TreeReference anchorRef, Set<QuickTriggerable> alreadyEvaluated) {
// tv should now contain all of the triggerable components which are going
// to need to be addressed by this update.
// 'triggerables' is topologically-ordered by dependencies, so evaluate
// the triggerables in 'tv' in the order they appear in 'triggerables'
Set<QuickTriggerable> fired = new HashSet<>();

for (QuickTriggerable qt : triggerablesDAG) {
if (tv.contains(qt) && !alreadyEvaluated.contains(qt)) {
if (triggerables.contains(qt) && !alreadyEvaluated.contains(qt)) {

evaluateTriggerable(mainInstance, evalContext, qt, anchorRef);

Expand Down

0 comments on commit d5e9200

Please sign in to comment.