From 67f86ad6597c1157b61a4465633328c2792440bf Mon Sep 17 00:00:00 2001 From: "p.ciardelli" Date: Thu, 17 Sep 2009 12:08:31 +0000 Subject: [PATCH] Fixed #1031 - Authorship year in zoological names not handled correctly. --- .../taxeditor/propertysheet/name/NameCacheHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/propertysheet/name/NameCacheHandler.java b/taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/propertysheet/name/NameCacheHandler.java index 5ebe61ba7..ae561ed48 100644 --- a/taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/propertysheet/name/NameCacheHandler.java +++ b/taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/propertysheet/name/NameCacheHandler.java @@ -34,7 +34,7 @@ public class NameCacheHandler { if (name instanceof NonViralName) { NonViralName nvName = (NonViralName) name; if (!nvName.isProtectedAuthorshipCache()) { - nvName.setAuthorshipCache(nvName.generateAuthorship()); + nvName.setAuthorshipCache(nvName.generateAuthorship(), false); } } } @@ -46,7 +46,6 @@ public class NameCacheHandler { name.setProtectedFullTitleCache(protect); if (name instanceof NonViralName) { ((NonViralName) name).setProtectedNameCache(protect); - ((NonViralName) name).setProtectedAuthorshipCache(protect); } } } -- 2.34.1