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

Scan record parser #711

Merged
merged 12 commits into from
Mar 30, 2021
Merged

Conversation

nrbrook
Copy link
Contributor

@nrbrook nrbrook commented Aug 15, 2020

Based on #709, this pull request removes UUIDUtil completely and replaces it with ScanRecordParser, a new internal class.

@nrbrook nrbrook mentioned this pull request Aug 15, 2020
Copy link
Owner

@dariuszseweryn dariuszseweryn left a comment

Choose a reason for hiding this comment

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

Unfortunately this PR is introducing two breaking changes which I cannot accept at this point :( We definitely need to keep the public API intact. I will delete deprecated classes at some point for sure but not just yet.

@nrbrook
Copy link
Contributor Author

nrbrook commented Aug 20, 2020

No problem I can restore these APIs as deprecated

# Conflicts:
#	mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleConnectionMock.java
@nrbrook
Copy link
Contributor Author

nrbrook commented Aug 24, 2020

I have restored the classes, but they are no longer used internally. I replaced the implementation of the functions with calls to the new ScanRecordParser implementations. As the unit tests have been restored for UUIDUtil this should ensure the API remains consistent.

@nrbrook nrbrook requested a review from dariuszseweryn August 26, 2020 15:48
# Conflicts:
#	mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleConnectionMock.java
…Reverted suggesting users to use internal class (this is a fallout of suggesting users quite a long time ago on Stackoverflow to use UUIDUtil directly — will be fixed in 2.0.0).
@nrbrook
Copy link
Contributor Author

nrbrook commented Jan 21, 2021

I think you fixed all the issues you identified with this so I think it's good to merge.

@dariuszseweryn
Copy link
Owner

I have been a bit relieved from my other responsibilities recently so I plan to re-review and continue with this one soon.

# Conflicts:
#	mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleScanRecordMock.java
@dariuszseweryn dariuszseweryn merged commit f54d777 into dariuszseweryn:master Mar 30, 2021
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