Skip to content

Conversation

@kamaci
Copy link
Member

@kamaci kamaci commented Oct 16, 2020

No description provided.

Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @kamaci ; These look okay to me, but I made an additional suggestion.

@ctubbsii ctubbsii added this to the 2.0.0 milestone Oct 16, 2020
kamaci and others added 2 commits October 16, 2020 17:23
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
@kamaci
Copy link
Member Author

kamaci commented Oct 16, 2020

I've approved the changes.

ctubbsii
ctubbsii previously approved these changes Oct 16, 2020
Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

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

The expression, prev + val + "" looks ambiguous to me. I can't tell if it is supposed to be Integer.toString(prev) + Integer.toString(val) or Integer.toString(prev + val).

This is an existing problem, and not related to your changes, but if you want to fix it, it would be a good improvement.

Your changes look fine to me, though. Thanks!

@kamaci
Copy link
Member Author

kamaci commented Oct 16, 2020

The expression, prev + val + "" looks ambiguous to me. I can't tell if it is supposed to be Integer.toString(prev) + Integer.toString(val) or Integer.toString(prev + val).

This is an existing problem, and not related to your changes, but if you want to fix it, it would be a good improvement.

Your changes look fine to me, though. Thanks!

I've used prevStr variable.

@ctubbsii ctubbsii dismissed their stale review October 16, 2020 18:09

Code was changed after review

@ctubbsii ctubbsii merged commit 7131326 into apache:main Oct 16, 2020
@ctubbsii
Copy link
Member

Thanks for the PR, @kamaci !

asfgit pushed a commit that referenced this pull request Oct 16, 2020
This may not be related to #1107, but found while building that PR.
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