Revision 2843ea50
Added by Andreas Müller over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java | ||
---|---|---|
501 | 501 |
* a {@link java.lang.Class} object. |
502 | 502 |
* @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object. |
503 | 503 |
*/ |
504 |
public static IMatchStrategy getMatchStrategy(Class clazz) { |
|
504 |
public static IMatchStrategy getMatchStrategy(Class<?> clazz) {
|
|
505 | 505 |
String className = clazz.getName(); |
506 | 506 |
if (getBooleanValue(MATCH_STRATEGY_PREFIX + className)) { |
507 | 507 |
IMatchStrategy matchStrategy = getDefaultMatchStrategy(clazz); |
... | ... | |
539 | 539 |
for (String fieldName : matchFields) { |
540 | 540 |
setStringValue( |
541 | 541 |
getMatchStrategyFieldName(className, fieldName), |
542 |
matchStrategy.getMatchMode(fieldName).name());
|
|
542 |
matchStrategy.getMatching().getFieldMatcher(fieldName).getMatchMode().name());
|
|
543 | 543 |
} |
544 | 544 |
} |
545 | 545 |
|
Also available in: Unified diff
ref #7829 fix missing getMatchModeName in TaxEditor