Rename NonViralName authorteams to authorship #4968
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / parser / MatchStrategyConfigurator.java
index b0f1b1e98229c95a0145eed33bec76c48d1216bb..57ee2e499e17077af965914bb3b6b186232bf5ba 100644 (file)
@@ -44,7 +44,7 @@ public class MatchStrategyConfigurator {
         * @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object.
         */
        public static IMatchStrategy TeamOrPersonMatchStrategy() throws MatchException{
-               return null;// PreferencesUtil.getMatchStrategy(TeamOrPersonBase.class);
+               return PreferencesUtil.getMatchStrategy(TeamOrPersonBase.class);
        } 
        
        /**
@@ -67,10 +67,10 @@ public class MatchStrategyConfigurator {
                IMatchStrategy strategy = PreferencesUtil.getDefaultMatchStrategy(NonViralName.class);
                
                strategy.setMatchMode("nomenclaturalReference", MatchMode.IGNORE);
-               strategy.setMatchMode("combinationAuthorTeam", MatchMode.IGNORE);
-               strategy.setMatchMode("exCombinationAuthorTeam", MatchMode.IGNORE);
-               strategy.setMatchMode("basionymAuthorTeam", MatchMode.IGNORE);
-               strategy.setMatchMode("exBasionymAuthorTeam", MatchMode.IGNORE);
+               strategy.setMatchMode("combinationAuthorship", MatchMode.IGNORE);
+               strategy.setMatchMode("exCombinationAuthorship", MatchMode.IGNORE);
+               strategy.setMatchMode("basionymAuthorship", MatchMode.IGNORE);
+               strategy.setMatchMode("exBasionymAuthorship", MatchMode.IGNORE);
                
                return strategy;
        }