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

Generate hashCode and equals with prompt #940

Merged
merged 4 commits into from
Mar 11, 2019

Conversation

testforstephen
Copy link
Contributor

@testforstephen testforstephen commented Feb 26, 2019

Signed-off-by: Jinbo Wang [email protected]
Close #168

vscode client implementation: redhat-developer/vscode-java#814
image

Prompt to select fields to include:
image

@fbricon
Copy link
Contributor

fbricon commented Feb 27, 2019

can you please add unit tests?

@testforstephen
Copy link
Contributor Author

sure, i'm doing that.

@testforstephen testforstephen changed the title (WIP)Generate hashCode and equals with prompt Generate hashCode and equals with prompt Feb 27, 2019
@testforstephen
Copy link
Contributor Author

test cases added.

@fbricon @yaohaizh

@fbricon
Copy link
Contributor

fbricon commented Mar 7, 2019

Damn, we're now 60 LOC over the threshold requiring submitting a CQ.
Removing some empty lines here and there and replacing some loops by some one-liners should easily do the trick

@fbricon
Copy link
Contributor

fbricon commented Mar 11, 2019

test this please

@fbricon fbricon merged commit 26f7ed0 into eclipse-jdtls:master Mar 11, 2019
@fbricon
Copy link
Contributor

fbricon commented Mar 11, 2019

Thanks @testforstephen !

@testforstephen testforstephen deleted the jinbo_hashcodeequals branch March 12, 2019 02:57
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