Project

General

Profile

« Previous | Next » 

Revision 6ef01e0f

Added by pplitzner over 6 years ago

Fix potential NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/EmptySection.java
34 34
    protected AbstractCdmDetailElement<Object> createCdmDetailElement(AbstractCdmDetailSection<Object> parentElement, int style) {
35 35
        return formFactory.createEmptyElement(parentElement, null);
36 36
    }
37

  
38
    @Override
39
    public void setEntity(Object entity) {
40
        //nothing
41
    }
37 42
}

Also available in: Unified diff