Skip to content

Commit a58053f

Browse files
authored
fix!: performance optimization & checks (#144)
* add write perms to release-please * fix!: performance optimization & checks * fix!: commits to trigger major bump
1 parent d9088d3 commit a58053f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/main/java/growthbook/sdk/java/evaluators/FeatureEvaluator.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public <ValueType> FeatureResult<ValueType> evaluateFeature(
5353

5454
try {
5555
if (context.getStack().getEvaluatedFeatures().contains(key)) {
56-
// block that handle recursion
56+
// block that handles recursion
5757
log.info(
5858
"evaluateFeature: circular dependency detected: {} -> {}. { from: {}, to: {} }",
5959
context.getStack().getId(), key,
@@ -291,8 +291,6 @@ public <ValueType> FeatureResult<ValueType> evaluateFeature(
291291

292292
if (rule.getRange() == null) {
293293
if (rule.getCoverage() != null) {
294-
// String key = ruleKey;
295-
296294
String attributeValue = context.getUser().getAttributes().get(ruleKey) == null
297295
? null : context.getUser().getAttributes().get(ruleKey).getAsString();
298296

0 commit comments

Comments
 (0)