Project

General

Profile

« Previous | Next » 

Revision 143a6271

Added by Katja Luther almost 2 years ago

ref #10081: add tag secNameInSourceSeparator and use it in cacheStrategy

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/taxon/TaxonBaseDefaultCacheStrategy.java
89 89
            tags.addAll(secTags);
90 90
            List<TaggedText> secNameUsedInSourceTags = getSecNameUsedInSourceTags(taxonBase);
91 91
            if (!secNameUsedInSourceTags.isEmpty()){
92
                tags.add(new TaggedText(TagEnum.separator, " (sub "));
92
                tags.add(new TaggedText(TagEnum.secNameInSourceSeparator, " (sub "));
93 93
                tags.addAll(secNameUsedInSourceTags);
94
                tags.add(new TaggedText(TagEnum.separator, ")"));
94
                tags.add(new TaggedText(TagEnum.secNameInSourceSeparator, ")"));
95 95
            }
96 96
        }else if (isMisapplication && isBlank(taxonBase.getAppendedPhrase())){
97 97
            tags.add(new TaggedText(TagEnum.appendedPhrase, "auct."));

Also available in: Unified diff