Project

General

Profile

« Previous | Next » 

Revision ac4c5087

Added by Patrick Plitzner over 5 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/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