Skip to content

Commit b8357f5

Browse files
Perf Fix For Evaluator (#252)
<img width="1120" alt="Screenshot 2024-04-10 at 9 52 49 AM" src="https://github.com/statsig-io/private-java-server-sdk/assets/158090588/2e2a3086-5668-4e8d-b6be-f6e6b58237bf">
1 parent 874c65f commit b8357f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/statsig/sdk/Evaluator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ internal class Evaluator(
243243
private fun evaluateConfig(user: StatsigUser, config: APIConfig?, endResult: ConfigEvaluation) {
244244
if (config == null) {
245245
endResult.booleanValue = false
246-
endResult.secondaryExposures = arrayListOf()
246+
endResult.ruleID = Const.EMPTY_STR
247247
endResult.evaluationDetails = createEvaluationDetails(EvaluationReason.UNRECOGNIZED)
248248
return
249249
}

0 commit comments

Comments
 (0)