- if (taxonName != null && taxonName != null) {\r
- if (taxonName.isInstanceOf(NonViralName.class)) {\r
- NonViralName nonViralName = CdmBase.deproxy(taxonName, NonViralName.class);\r
- String authorshipCache = nonViralName.getAuthorshipCache();\r
-\r
- // For a misapplied name without an authorshipCache the authorString should be set to "auct."\r
- if (isMisappliedName(taxonName) && authorshipCache == null) {\r
- // Set authorshipCache to "auct."\r
- result = PesiTransformer.auctString;\r
+ if (taxonName != null) {\r
+ if (taxonName.isInstanceOf(NonViralName.class)) {\r
+ NonViralName nonViralName = CdmBase.deproxy(taxonName, NonViralName.class);\r
+ String authorshipCache = nonViralName.getAuthorshipCache();\r
+ \r
+ // For a misapplied name without an authorshipCache the authorString should be set to "auct."\r
+ if (isMisappliedName(taxonName) && authorshipCache == null) {\r
+ // Set authorshipCache to "auct."\r
+ result = PesiTransformer.auctString;\r
+ } else {\r
+ // Return the content of the authorshipCache\r
+ result = authorshipCache;\r
+ }\r
+ \r