Skip to content

Commit 436cbe2

Browse files
jaeoptclaude
andcommitted
[FSSDK-12670] Add comment explaining the < 2 identifiers guard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3158e18 commit 436cbe2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎core-api/src/main/java/com/optimizely/ab/odp/ODPEventManager.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ public void identifyUser(@Nonnull Map<String, String> identifiers) {
151151
}
152152
}
153153

154+
// An identify event requires at least 2 identifiers to link (e.g., vuid + fs_user_id).
155+
// A single identifier has no cross-reference value and would generate unnecessary traffic.
154156
if (validIdentifiers.size() < 2) {
155157
logger.debug("ODP identify event is not dispatched (fewer than 2 valid identifiers).");
156158
return;

0 commit comments

Comments
 (0)