Skip to content

Add hashCode and equals to DruidNode#2248

Merged
xvrl merged 1 commit intoapache:masterfrom
metamx:druidNodeHashEquals
Jan 15, 2016
Merged

Add hashCode and equals to DruidNode#2248
xvrl merged 1 commit intoapache:masterfrom
metamx:druidNodeHashEquals

Conversation

@drcrallen
Copy link
Copy Markdown
Contributor

No description provided.

@drcrallen drcrallen mentioned this pull request Jan 11, 2016
@nishantmonu51
Copy link
Copy Markdown
Member

👍

@fjy
Copy link
Copy Markdown
Contributor

fjy commented Jan 12, 2016

Why does DruidNode need this?

@drcrallen
Copy link
Copy Markdown
Contributor Author

@fjy I have some unit tests in other PRs that use the equals method of DruidNode. namely Objects.equals(X, Y) where X and Y contain DruidNode fields.

@drcrallen
Copy link
Copy Markdown
Contributor Author

And the IntelliJ generated equals function just checks the equals methods of the fields.

xvrl added a commit that referenced this pull request Jan 15, 2016
Add hashCode and equals to DruidNode
@xvrl xvrl merged commit dc1a62c into apache:master Jan 15, 2016
@drcrallen drcrallen deleted the druidNodeHashEquals branch January 15, 2016 00:05
@xvrl
Copy link
Copy Markdown
Member

xvrl commented Jan 15, 2016

👍

@fjy fjy added this to the 0.9.0 milestone Feb 4, 2016
@fjy fjy added the Improvement label Feb 5, 2016
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.

4 participants