@@ -224,7 +224,7 @@ protected EppoValue getTypedAssignment(
224224 }
225225
226226 // Evaluate flag with details
227- FlagEvaluationResult detailedResult =
227+ FlagEvaluationResult evaluationResult =
228228 FlagEvaluator .evaluateFlag (
229229 flag ,
230230 flagKey ,
@@ -236,7 +236,7 @@ protected EppoValue getTypedAssignment(
236236 config .getConfigPublishedAt ());
237237
238238 EppoValue assignedValue =
239- detailedResult .getVariation () != null ? detailedResult .getVariation ().getValue () : null ;
239+ evaluationResult .getVariation () != null ? evaluationResult .getVariation ().getValue () : null ;
240240
241241 if (assignedValue != null && !valueTypeMatchesExpected (expectedType , assignedValue )) {
242242 log .warn (
@@ -247,17 +247,17 @@ protected EppoValue getTypedAssignment(
247247 return defaultValue ;
248248 }
249249
250- if (assignedValue != null && assignmentLogger != null && detailedResult .doLog ()) {
250+ if (assignedValue != null && assignmentLogger != null && evaluationResult .doLog ()) {
251251
252252 try {
253- String allocationKey = detailedResult .getAllocationKey ();
253+ String allocationKey = evaluationResult .getAllocationKey ();
254254 String experimentKey =
255255 flagKey
256256 + '-'
257257 + allocationKey ; // Our experiment key is derived by hyphenating the flag key and
258258 // allocation key
259- String variationKey = detailedResult .getVariation ().getKey ();
260- Map <String , String > extraLogging = detailedResult .getExtraLogging ();
259+ String variationKey = evaluationResult .getVariation ().getKey ();
260+ Map <String , String > extraLogging = evaluationResult .getExtraLogging ();
261261 Map <String , String > metaData = buildLogMetaData (config .isConfigObfuscated ());
262262
263263 Assignment assignment =
0 commit comments