Skip to content
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

Fix Code smells #364

Merged

Conversation

pascalgrimaud
Copy link
Member

No description provided.

@@ -217,7 +217,7 @@ public static String getPlugin(Plugin plugin, int indentation) {
plugin
.getAdditionalElements()
.ifPresent(additionalElements ->
result.append(plugin.getAdditionalElements().get().indent(4 * indentation).replaceAll("\n", System.lineSeparator()))
result.append(plugin.getAdditionalElements().get().indent(4 * indentation).replace("\n", System.lineSeparator()))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swarajsaaj : just apply this fix for Sonar code smell. Can you check quickly if it's correct plz?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this seems to work fine.

@codecov
Copy link

codecov bot commented Dec 21, 2021

Codecov Report

Merging #364 (e6216b8) into main (ae46880) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #364   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       550       550           
===========================================
  Files             93        93           
  Lines           1777      1777           
  Branches          37        37           
===========================================
  Hits            1777      1777           
Impacted Files Coverage Δ
...pringboot/mvc/security/jwt/domain/JwtSecurity.java 100.00% <ø> (ø)
.../security/jwt/domain/JwtSecurityDomainService.java 100.00% <ø> (ø)
...r/lite/generator/buildtool/maven/domain/Maven.java 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae46880...e6216b8. Read the comment docs.

@pascalgrimaud pascalgrimaud merged commit cc309c9 into jhipster:main Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants