-
Notifications
You must be signed in to change notification settings - Fork 267
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
Java 8 code style update and bump some maven dependencies #463
Conversation
Signed-off-by: olivier lamy <olamy@apache.org>
Signed-off-by: olivier lamy <olamy@apache.org>
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.
Some change requests, some nits, and can you change the PR title to something more descriptive?
I would suggest something like:
Java 8 code style updates
and then in the content box:
* Use diamond operator
* Replace for loops with enhanced for loops
* use lambdas where feasible
* …
(same for the commit message).
This way it is easier to spot the changes while browsing history.
src/main/java/org/codehaus/mojo/versions/AbstractVersionsDependencyUpdaterMojo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/AbstractVersionsDependencyUpdaterMojo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/AbstractVersionsDependencyUpdaterMojo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/PluginUpdatesRenderer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/PluginUpdatesXmlRenderer.java
Outdated
Show resolved
Hide resolved
…dencyUpdaterMojo.java Co-authored-by: Benjamin Marwell <bmarwell@apache.org>
…dencyUpdaterMojo.java Co-authored-by: Benjamin Marwell <bmarwell@apache.org>
…dencyUpdaterMojo.java Co-authored-by: Benjamin Marwell <bmarwell@apache.org>
…tesMojo.java Co-authored-by: Benjamin Marwell <bmarwell@apache.org>
well I just applied some intellij proposals and didn't go to all source code. there is definitely room for improvement here. |
Sorry for being so picky… don't know what bit me. =) I fixed some of my wrong suggestions in IntelliJ ;-) |
…ed more changes Signed-off-by: olivier lamy <olamy@apache.org>
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.
Great work! Like those changes, just left some questions (no real nits this time) ;-)
src/main/java/org/codehaus/mojo/versions/PluginUpdatesXmlRenderer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/codehaus/mojo/versions/ordering/MajorMinorIncrementalFilter.java
Show resolved
Hide resolved
Co-authored-by: Benjamin Marwell <bmarwell@apache.org>
Signed-off-by: olivier lamy <olamy@apache.org>
No description provided.