-
Notifications
You must be signed in to change notification settings - Fork 71
Unnecessary assignments are removed. #1107
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
ctubbsii
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.
Thanks for the PR @kamaci ; These look okay to me, but I made an additional suggestion.
modules/integration-tests/src/main/java/org/apache/fluo/integration/TestUtil.java
Outdated
Show resolved
Hide resolved
modules/integration-tests/src/main/java/org/apache/fluo/integration/TestUtil.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
|
I've approved the changes. |
ctubbsii
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.
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 |
modules/integration-tests/src/main/java/org/apache/fluo/integration/TestUtil.java
Outdated
Show resolved
Hide resolved
modules/integration-tests/src/main/java/org/apache/fluo/integration/TestUtil.java
Outdated
Show resolved
Hide resolved
…ation/TestUtil.java
|
Thanks for the PR, @kamaci ! |
This may not be related to #1107, but found while building that PR.
No description provided.