Fix crash when editing an application period #117
@ -186,8 +186,4 @@ public class ApplicationPeriod extends DomainObject {
|
|||||||
public void addProjectType(ProjectType projectType) {
|
public void addProjectType(ProjectType projectType) {
|
||||||
this.projectTypes.add(new ApplicationPeriodProjectType(this, projectType));
|
this.projectTypes.add(new ApplicationPeriodProjectType(this, projectType));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeProjectType(ProjectType projectType) {
|
|
||||||
this.projectTypes.removeIf(next -> next.getProjectType().equals(projectType));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user