Skip to content

Conversation

@souissimai
Copy link
Contributor

PR Summary

Signed-off-by: SOUISSI Maissa (Externe) <souissimai@gm0winl878.bureau.si.interne>
@Mathieu-Deharbe Mathieu-Deharbe self-requested a review January 28, 2026 12:06
@@ -159,7 +164,7 @@ private UserProfile toDto(final UserProfileEntity entity, Boolean allLinksValid)
}
return new UserProfile(entity.getId(), entity.getName(), entity.getLoadFlowParameterId(),

Choose a reason for hiding this comment

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

Those constructors using more than 10 parameters are cumbersome and a bit dangerous. I am surprised that sonar didn't complain about it. Wouldn't it be nicer to add @Builder to UserProfile and use a builder ?

SOUISSI Maissa (Externe) added 2 commits January 28, 2026 16:56
Signed-off-by: SOUISSI Maissa (Externe) <souissimai@gm0winl878.bureau.si.interne>
Signed-off-by: SOUISSI Maissa (Externe) <souissimai@gm0winl878.bureau.si.interne>
@sonarqubecloud
Copy link

@souissimai souissimai merged commit 95f7b7a into main Feb 3, 2026
3 checks passed
@souissimai souissimai deleted the user_profil_pccmin_parameters branch February 3, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants