Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue where certain subpackages were not getting populated in the getEvent response #218

Conversation

jallentxbiomed
Copy link
Collaborator

No description provided.

? nextLevelEventDataSuperPkgs.get(eventData.getEventId()).values().stream().map(SuperPackage::getSuperPkgId).toList()
: new ArrayList<>();

AtomicInteger emptyEventDataId = new AtomicInteger(0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can i please know if we are using any multithreads in here as i do see AtomicInteger? i checked in the sndManager code and i don't see any threads being used in this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but in order to iterate an Integer object within a stream it needs to be Atomic

@jallentxbiomed jallentxbiomed merged commit cb33b9e into release23.11-SNAPSHOT Aug 9, 2024
5 checks passed
@jallentxbiomed jallentxbiomed deleted the 23.11_fb_fixImproperHandlingOfEmptyEventData branch August 9, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants