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

RiakObject equals(), hashCode() and toString() #557

Merged
merged 2 commits into from
Jul 22, 2016

Conversation

stela
Copy link
Contributor

@stela stela commented Oct 22, 2015

Added equals(), hashCode() and toString() methods to RiakObject.

Dependent classes RiakLinks, RiakUserMetadata and RiakObject also got those methods added to allow sensible comparison of any RiakObject. This allows checking parameters for equality in unit tests when mocking out RiakClient.

 Dependent classes RiakLinks, RiakUserMetadata and RiakObject also got those methods added to allow sensible comparison of any RiakObject. This allows checking parameters for equality in unit tests when mocking out RiakClient.
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