-
Notifications
You must be signed in to change notification settings - Fork 25.6k
add toString implementation for UpdateRequest. #27997
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
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
Gradle check complains about the use of |
I don't follow why you're trying to use |
bc2a1e3 to
e00e478
Compare
|
Thanks, I see. Updated now. |
|
@elasticmachine ok to test |
DaveCTurner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you rewrote history to remove the commit that Tim looked at earlier so any comments he made are now lost. It makes it easier on reviewers if you just add commits to your branch. We squash the whole branch when it's merged so don't worry about making a noisy log at this stage. Please could you avoid rewriting history in future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's lots of appending going on - could you use a StringBuilder here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. As far as I see, the readability is affected, and as far as I know, java compiler will replace it with StringBuilder automatically now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is boolean - I think it'd be better to include it in the output whether it's true or false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is boolean - I think it'd be better to include it in the output whether it's true or false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. One more field which is a boolean and not listed here is also updated.
DaveCTurner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@DaveCTurner looks like this is ready to pull in |
|
@zzt93 something looks wrong with this branch after the last rebase, it looks like you merged in another branch? Please clean up the branch PR before we can merge this. Let me know if you need help. |
|
@cbuescher I just rebase my branch and push, but remote refused. So I pull and merge. What do you mean 'clean up'? Maybe to push force? |
|
@zzt93 by "clean up" I mean that your branch should only contain the two commits that were actually reviewed (I think that would be e00e478 and 5e3ba8a). Whatever git workflow suits you is fine for that, for example you could just check out the current tip of master, cherry-pick those commits and then push that to your pr branch. Whatever works. I think the "merge" you mentioned might have messed things up. |
|
Sorry, I mean 783a0e5 instead of 5e3ba8a. |
783a0e5 to
b93c47f
Compare
|
Do as you suggested now. |
|
The jenkins log says: @DaveCTurner So what should I do? |
|
I think this was fixed in aded32f which was pushed after this PR, so something like |
|
@elasticmachine test this please |
add toString simple implementation and test to resolve issue 27986
gradle check?