suite changement et correction bug

This commit is contained in:
2022-11-29 15:34:17 +01:00
parent 1351345df5
commit 86b93e43d5
3 changed files with 56 additions and 6 deletions

View File

@@ -390,6 +390,7 @@ public void showGroupe(Groupe g){
}
public Set<Groupe> getGroupePartition(){
this.bd.refreshGroupe(this.fenGr.getG().getPointPoint());
Set<Groupe> retour=new HashSet<>();
if(this.fenGr.getG().getPointPoint().getType()!=TypeGroupe.PARTITION)
throw new IllegalStateException("impossible de changer un étudiant d'un groupe ne provenant pas d'une partition");