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

Fix checking empty region’s major and minor. #13

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

trongnd
Copy link
Contributor

@trongnd trongnd commented Mar 16, 2017

Issue: #1 startMonitoringForRegion without major and minor

Fixed by using String.equals for checking string equality. As string returned by String.valueOf is not interned, so using == or != gives wrong result.

… for checking string equality as string returned by String.valueOf is not interned.
@MacKentoch MacKentoch merged commit fbd3bc7 into MacKentoch:master Mar 16, 2017
@MacKentoch
Copy link
Owner

Thank you @trongnd !

I'm clearly not a Java dev so your PR is warmly welcomed 👍

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