Skip to content

Commit

Permalink
dernier commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelJ-S committed Jan 14, 2021
1 parent aea2253 commit 4cce08b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/EvaluationAssurance/Soumission.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ public void setSoumission(String filePath) {
System.exit(-4);
}
}
private void validationGenre(int genre) throws ParamException{
if(genre == HOMME || genre == FEMME || genre == SANS_GENRE_OPT1 ||
genre == SANS_GENRE_OPT2){
private void validationGenre(int genre) throws ParamException {
if (genre == HOMME || genre == FEMME || genre == SANS_GENRE_OPT1
|| genre == SANS_GENRE_OPT2) {
this.genre = genre;
}else {
} else {
throw new ParamException("Genre invalide.");
}
}
Expand Down

0 comments on commit 4cce08b

Please sign in to comment.