Revision e6e7d41e
Added by Andreas Müller 8 months ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/OriginalSourceBase.java | ||
---|---|---|
338 | 338 |
*/ |
339 | 339 |
public boolean equalsByShallowCompare(OriginalSourceBase other) { |
340 | 340 |
|
341 |
|
|
342 | 341 |
int thisCitationId = -1; |
343 | 342 |
int otherCitationId = -1; |
344 | 343 |
if(this.getCitation() != null) { |
... | ... | |
358 | 357 |
if(!StringUtils.equals(this.getIdInSource(), other.getIdInSource()) |
359 | 358 |
|| !CdmUtils.nullSafeEqual(this.getIdNamespace(), other.getIdNamespace()) |
360 | 359 |
|| !CdmUtils.nullSafeEqual(this.getType(), other.getType()) |
361 |
|| TimePeriod.equalsNullAndEmptySafe(accessed, other.getAccessed()) |
|
360 |
|| !TimePeriod.equalsNullAndEmptySafe(accessed, other.getAccessed())
|
|
362 | 361 |
|| !CdmUtils.nullSafeEqual(this.getCdmSource(), other.getCdmSource()) |
363 | 362 |
|| !CdmUtils.nullSafeEqual(this.getLinks(), other.getLinks())) { |
364 | 363 |
return false; |
Also available in: Unified diff
ref #10057 fix equalsShallowCompare in OriginalSourceBase