Project

General

Profile

Revision 12b0669d

ID12b0669d4657ff6844a8e092fa7117d27a2d5155
Parent fa1dc0a8
Child fbd5dac1

Added by Katja Luther about 1 year ago

ref #7932: add getBestMatching method using preferenceResolver in preferenceCache

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/CdmPreferenceCache.java
40 40

  
41 41
    private final static Logger logger = Logger.getLogger(CdmPreferenceCache.class);
42 42

  
43
    PreferenceResolver resolver = new PreferenceResolver();
43

  
44 44

  
45 45
    public static CdmPreferenceCache instance(){
46 46
        if(instance == null){
......
185 185

  
186 186
    private CdmPreference findBestMatching(PrefKey key) {
187 187

  
188
        return resolver.resolve(new ArrayList(this.preferenceCache.values()), key);
188
        return PreferenceResolver.resolve(new ArrayList(this.preferenceCache.values()), key);
189 189

  
190 190
    }
191 191

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)