Skip to content

Commit

Permalink
Code factorisation in MavenProject (the behaviour should stay equiv…
Browse files Browse the repository at this point in the history
…alent to previous code):

* Reduced some code duplication, e.g. with the addition of a private `toDependency(Artifact)` method.
* Rewrite some methods using Stream because it saves some of those precious lines limited by Checkstyle.
* Avoid invoking the same methods many times when the returned value should not change.
  • Loading branch information
desruisseaux committed Oct 26, 2024
1 parent bf46bfc commit fd101e8
Showing 1 changed file with 131 additions and 179 deletions.
Loading

0 comments on commit fd101e8

Please sign in to comment.