Revision a7cbfd9c
Added by Andreas Müller over 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/AgentBase.java | ||
---|---|---|
239 | 239 |
getNewOrExistingContact(false).removeUrl(url); |
240 | 240 |
} |
241 | 241 |
|
242 |
@Override |
|
243 |
public AgentBase<S> clone() throws CloneNotSupportedException { |
|
244 |
AgentBase<S> result = (AgentBase<S>)super.clone(); |
|
245 |
|
|
246 |
result.setContact(this.contact == null ? null : this.contact.clone()); |
|
247 |
//nothing to do: contact |
|
248 |
return result; |
|
249 |
} |
|
250 |
|
|
242 | 251 |
} |
Also available in: Unified diff
ref #4770 fix clone for AgentBase.contact