Project

General

Profile

« Previous | Next » 

Revision ee500fb8

Added by Andreas Müller almost 4 years ago

ref #9078 fix caching for deduplicated name in ParseHandler

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/parser/ParseHandler.java
127 127

  
128 128
	/**
129 129
	 * Parses the string that was entered into the text widget and returns a
130
	 * NonViralName object that resulted from the parsing process.
130
	 * TaxonName object that resulted from the parsing process.
131 131
	 *
132 132
	 * The atomized fields (scientific name, author and reference) will be matched
133 133
	 * against the database to find possible duplicates. If duplicates were found
......
136 136
	 *
137 137
	 * @return	The parsed NonViralName object
138 138
	 */
139
	public INonViralName parseAndResolveDuplicatesNew(String unparsedNameString){
139
	public TaxonName parseAndResolveDuplicatesNew(String unparsedNameString){
140 140

  
141
		TaxonName parsedName = (TaxonName)CdmStore.getService(INameService.class).parseName(name, unparsedNameString, null, true, true).getCdmEntity();
142
		return parsedName;
141
		CdmStore.getService(INameService.class).parseName(name, unparsedNameString, null, true, true);
142
		return name;
143 143
	}
144 144

  
145 145
//********************************** OLD can be removed once parseAndResolveDuplicatesNew is stable ************************************/

Also available in: Unified diff