-
Notifications
You must be signed in to change notification settings - Fork 7
story #13791: clean code #2360
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
base: develop
Are you sure you want to change the base?
story #13791: clean code #2360
Conversation
422e98c
to
0d97465
Compare
0d97465
to
a1476f9
Compare
LOGGER.debug("get all customer criteria={}", criteria); | ||
SanityChecker.sanitizeCriteria(criteria); | ||
return securityProfileExternalService.getAll(criteria); | ||
return securityProfileExternalService.getAll(); |
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.
A quoi sert la variable criteria
si elle n'est plus appelée par getAll()
?
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.
D'accord avec Hassane, il faut supprimer la variable criteria
.
SanityChecker.sanitizeCriteria(criteria); | ||
LOGGER.debug("get all customer criteria={}", criteria); | ||
return agencyExternalService.getAll(criteria); | ||
return agencyExternalService.getAll(); |
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.
Enlever criteria
si pas utilisé.
LOGGER.debug("get all customer criteria={}", criteria); | ||
SanityChecker.sanitizeCriteria(criteria); | ||
return securityProfileExternalService.getAll(criteria); | ||
return securityProfileExternalService.getAll(); |
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.
D'accord avec Hassane, il faut supprimer la variable criteria
.
|
||
@Autowired | ||
private UnitExtternalService unitExternalService; | ||
private UnitExternalService unitExternalService; |
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.
C'est utilisé où ?
throws IOException, InvalidParseOperationException { | ||
InputStream inputStream = | ||
AccessionRegisterInternalServiceTest.class.getClassLoader().getResourceAsStream(filename); | ||
fr.gouv.vitamui.referential.internal.server.service |
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.
Classe à bouger.
Description
Description des modifications
Type de changement
Indiquer le ou les types de changements
Documentation
Indiquer la documentation mise à jour
Tests
Indiquer comment le code à été testé (manuel, environnement, TU, etc)
Migration
Indiquer si les modifications apportées impliquent une migration sur l'existant et comment la faire
Checklist
Sélectionner les éléments de la checklist
Contributeur
Indiquer qui a développé cette fonctionnalité