Skip to content

Commit 2c6a415

Browse files
fix: add comment to clarify ignoreUPS variable purpose in DecisionService
1 parent 773fd64 commit 2c6a415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core-api/src/main/java/com/optimizely/ab/bucketing/DecisionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public DecisionResponse<Variation> getVariation(@Nonnull Experiment experiment,
164164
return new DecisionResponse(variation, reasons);
165165
}
166166
}
167-
boolean ignoreUPS = false;
167+
boolean ignoreUPS = false; // whether to ignore user profile service for cmab experiments
168168

169169
DecisionResponse<Boolean> decisionMeetAudience = ExperimentUtils.doesUserMeetAudienceConditions(projectConfig, experiment, user, EXPERIMENT, experiment.getKey());
170170
reasons.merge(decisionMeetAudience.getReasons());

0 commit comments

Comments
 (0)