Revision f9d65b70
Added by Andreas Müller almost 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/agent/PersonDefaultCacheStrategy.java | ||
---|---|---|
87 | 87 |
result = person.getNomenclaturalTitle(); |
88 | 88 |
if (isNotBlank(result)){ |
89 | 89 |
return result.trim(); |
90 |
}else{ |
|
91 |
result = addInitials("", person); |
|
92 |
if (isNotBlank(result)){ |
|
93 |
return result.trim(); |
|
94 |
} |
|
90 |
} |
|
91 |
result = person.getCollectorTitle(); |
|
92 |
if (isNotBlank(result)){ |
|
93 |
return result.trim(); |
|
94 |
} |
|
95 |
result = addInitials("", person); |
|
96 |
if (isNotBlank(result)){ |
|
97 |
return result.trim(); |
|
95 | 98 |
} |
96 | 99 |
} |
97 | 100 |
return person.toString(); |
Also available in: Unified diff
ref #9664 , ref #4311 fix cache handling for collectorTitle and nomenclaturalTitle