Skip to content

Commit

Permalink
nit: rename parentEvaluation to parent satisfied
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Oct 27, 2023
1 parent 76786f6 commit a8b8b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/getunleash/DefaultUnleash.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ private boolean isParentDependencySatisfied(
parent.getFeature());
return false;
}
boolean parentEvaluation =
boolean parentSatisfied =
isEnabled(
parent.getFeature(), context, fallbackAction, true);
if (parentEvaluation) {
if (parentSatisfied) {
if (!parent.getVariants().isEmpty()) {
return parent.getVariants()
.contains(
Expand Down

0 comments on commit a8b8b05

Please sign in to comment.