Skip to content

Commit

Permalink
refactor: Common static analysis issues
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/ggZMncs1O?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
2 people authored and app committed Mar 12, 2024
1 parent c1559bc commit 3a9bbfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void mavenPom() {
</dependency>
</dependencies>
</project>
""", versions.size() > 0 ? versions.get(0) : "", versions.size() > 1 ? versions.get(1) : "");
""", versions.isEmpty() ? "" : versions.get(0), versions.size() > 1 ? versions.get(1) : "");
}
)
)
Expand Down

0 comments on commit 3a9bbfa

Please sign in to comment.