This commit is contained in:
Maxime Dagnicourt
2008-01-14 17:01:49 +00:00
parent 8f0c932de0
commit 1c084caf29

View File

@@ -160,19 +160,4 @@ public class User implements Serializable{
this.roles = roles; this.roles = roles;
} }
public List<Conference> getConferences(){
Conference conf;
List<Conference> list = new ArrayList<Conference>();
List<Role> tmpList = getRoles();
for (Role role : tmpList) {
conf = role.getConference();
if(!list.contains(conf)){
list.add(conf);
}
}
return list;
}
} }