Project

General

Profile

Revision 2e1fd4da

ID2e1fd4da52e38f63412f8f3674c47e4de518942c
Parent afe10f33
Child ae4ccce0

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)