Skip to content

Commit

Permalink
fix: vérification p.getNom() != null && p.getPrenom() != null
Browse files Browse the repository at this point in the history
  • Loading branch information
slemaire777 committed Jun 7, 2024
1 parent 7d2a610 commit 13a8760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public TheseModel process(TheseModel theseModel) throws Exception {
// si pas de idref, construction des personnes (sans idref); pas sur que ca fonctionne avec NomPrenom car si on change de nomPrenom
personneModelES = personnesTefList.stream().filter(p -> {
if (p.getNom() != null && p.getPrenom() != null){
return p.getNom().equals(personneES.getNom()) && p.getPrenom().equals(personneES.getPrenom())
return p.getNom().equals(personneES.getNom()) && p.getPrenom().equals(personneES.getPrenom());
} else {
return false;
}
Expand Down

0 comments on commit 13a8760

Please sign in to comment.