Skip to content

added synchronized keyword to method that reads from server poll #668

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

Merged
merged 1 commit into from
Dec 9, 2017
Merged

added synchronized keyword to method that reads from server poll #668

merged 1 commit into from
Dec 9, 2017

Conversation

Krandelbord
Copy link

@Krandelbord Krandelbord commented Nov 19, 2017

fixes #666 to make it threadsafe
BTW: Moved id to static initizalizer block since it used only here.

@iluwatar iluwatar merged commit d26f262 into iluwatar:master Dec 9, 2017
@iluwatar
Copy link
Owner

iluwatar commented Dec 9, 2017

Thanks @Krandelbord the fix looks good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it threadsafe ?
2 participants