Revision 08183f99
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/Person.java | ||
---|---|---|
203 | 203 |
*/ |
204 | 204 |
public Set<InstitutionalMembership> getInstitutionalMemberships(){ |
205 | 205 |
if(institutionalMemberships == null) { |
206 |
this.institutionalMemberships = new HashSet<InstitutionalMembership>();
|
|
206 |
this.institutionalMemberships = new HashSet<>(); |
|
207 | 207 |
} |
208 | 208 |
return this.institutionalMemberships; |
209 | 209 |
} |
... | ... | |
214 | 214 |
logger.warn("Institutional membership's person has to be changed for adding it to person: " + this); |
215 | 215 |
ims.getPerson().removeInstitutionalMembership(ims); |
216 | 216 |
ims.setPerson(this); |
217 |
|
|
218 | 217 |
} |
219 | 218 |
} |
220 | 219 |
|
Also available in: Unified diff
cleanup