Project

General

Profile

Revision 694f0ef2

ID694f0ef28f3f91c41d59def17430069c806980ec
Parent 6d6ae033
Child 8db30ca4

Added by Katja Luther over 2 years ago

fix #7874: updateCaches always returns true

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/Team.java
348 348
            String oldNomTitleCache = this.nomenclaturalTitle;
349 349
            this.protectedNomenclaturalTitleCache = false;
350 350

  
351
            String newAbbrevTitleCache = cacheStrategy.getTitleCache(this);
351
            String newNomTitleCache = cacheStrategy.getNomenclaturalTitle(this);
352 352

  
353
            if ( oldNomTitleCache == null   || ! oldNomTitleCache.equals(newAbbrevTitleCache) ){
353
            if ( oldNomTitleCache == null   || ! oldNomTitleCache.equals(newNomTitleCache) ){
354 354
                 this.setNomenclaturalTitle(null, false);
355 355
                 String newCache = this.getNomenclaturalTitle();
356 356

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)