Skip to content

Commit cf67123

Browse files
committed
clean up
1 parent 7a4fcc6 commit cf67123

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core-api/src/main/java/com/optimizely/ab/config/DatafileProjectConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,9 @@ private List<Experiment> injectFeatureRolloutVariations(
375375
return allExperiments;
376376
}
377377

378-
// Build rollout ID to Rollout mapping
378+
// Build rollout ID to Rollout mapping.
379+
// [NOTE] we cannot use the rolloutIdMapping here because it is built after we
380+
// inject the variations, which causes a circular dependency.
379381
Map<String, Rollout> rolloutMap = new HashMap<>();
380382
if (rollouts != null) {
381383
for (Rollout rollout : rollouts) {

0 commit comments

Comments
 (0)