-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fixed analysis warning about if statements in PlateHorizontalGraph. #38
Fixed analysis warning about if statements in PlateHorizontalGraph. #38
Conversation
1 similar 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! Will merge in a few days if you don't get around to fixing the few optional comments I left for you :)
} | ||
|
||
public Vector<Peak> findPeak_derivative(int count) { |
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.
Optional: Would you formatting the name of this and the other findPeak
method to camelCase?
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.
Will do!
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.
Done :)
int a, b; | ||
public Vector<Peak> findPeak_derivative() { | ||
int a = 2; | ||
int b = this.yValues.size() - 1 - 2; | ||
float maxVal = this.getMaxValue(); |
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.
Optional: Remove all the extra this
statements if you feel like it :) See #42
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.
Will do!
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.
Done :)
…hanged empty if statements to while statements. Removed unused argument count. Removed unused field handle. Changed Plate.java to reflect this change.
… unnecessary this. statements.
437f960
to
c92fc62
Compare
Changed empty if statements to while statements. Removed unused argument 'count'. Removed unused field 'handle'. Changed Plate.java to reflect this change. This relates to issue #18 .