Project

General

Profile

« Previous | Next » 

Revision e6d7b501

Added by Andreas Müller almost 7 years ago

ref #6368 remove TaxonNameBase subclasses

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/match/MatchStrategyConfigurator.java
10 10
package eu.etaxonomy.cdm.strategy.match;
11 11

  
12 12
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
13
import eu.etaxonomy.cdm.model.name.NonViralName;
13
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
14 14
import eu.etaxonomy.cdm.model.reference.Reference;
15 15

  
16 16
/**
......
77 77
	 * @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object.
78 78
	 */
79 79
	public static IMatchStrategy getDefaultNonViralNameMatchStrategy() throws MatchException{
80
		IMatchStrategy strategy = DefaultMatchStrategy.NewInstance(NonViralName.class);
80
		IMatchStrategy strategy = DefaultMatchStrategy.NewInstance(TaxonNameBase.class);
81 81

  
82 82
		strategy.setMatchMode("nomenclaturalReference", MatchMode.IGNORE);
83 83
		strategy.setMatchMode("combinationAuthorship", MatchMode.IGNORE);

Also available in: Unified diff