Commit 54262b05 authored by Jean-Mael BOIS's avatar Jean-Mael BOIS
Browse files

Correction of generated bugs - Fix #29

parent 6fc14b32
......@@ -44,8 +44,6 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
this.setArchived(false);
this.setLastModificationDate(new Date());
this.tasksList = new ArrayList<ITask>();
this.setParticipantsList(new ArrayList<IParticipant>());
this.setSubprojectsList(new ArrayList<IProject>());
this.setContacts(new ArrayList<IContact>());
this.setProgress(Progress.TODO);
}
......
......@@ -217,7 +217,7 @@ public final class Task extends AbstractTask {
}
@OneToMany(fetch = FetchType.EAGER)
private Set<Contact> getContacts() {
private Set<Contact> getContact() {
HashSet<Contact> listeElem = new HashSet<Contact>();
for(IContact iElem : super.getContacts()){
listeElem.add((Contact)iElem);
......@@ -225,7 +225,7 @@ public final class Task extends AbstractTask {
return listeElem;
}
private void setContacts(Set<Contact> listedescontacts) {
private void setContact(Set<Contact> listedescontacts) {
super.getContacts().clear();
for(Contact t : listedescontacts){
super.getContacts().add(t);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment