Project

General

Profile

« Previous | Next » 

Revision ac4c5087

Added by Patrick Plitzner almost 4 years ago

ref #6554 Pull up isCached() to abstract data viewer class

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmDataViewerE4.java
101 101
	}
102 102

  
103 103

  
104
    protected boolean isCached(String id){
105
        List<AbstractFormSection> sections = entityToSectionsMap.get(id);
106
        return sections!=null;
107
    }
108

  
104 109
    protected void createEmptySection(String message, RootElement parent) {
105 110
        destroySections();
106 111

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java
11 11

  
12 12
import java.util.ArrayList;
13 13
import java.util.HashSet;
14
import java.util.List;
15 14
import java.util.Set;
16 15

  
17 16
import javax.inject.Inject;
......
217 216
        }
218 217
    }
219 218

  
220
    private boolean isCached(String id){
221
        List<AbstractFormSection> sections = entityToSectionsMap.get(id);
222
        return sections!=null;
223
    }
224

  
225 219
    /** {@inheritDoc} */
226 220
    @Override
227 221
    protected void showParts() {

Also available in: Unified diff