Project

General

Profile

« Previous | Next » 

Revision ace3c476

Added by Katja Luther over 3 years ago

avoid NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java
851 851
        }
852 852
    }
853 853
    public static void updateNameEditors(Set<Taxon> taxaToUpdate){
854
        EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAME_EDITOR, taxaToUpdate);
854
        for (Taxon tax: taxaToUpdate){
855
            if (tax != null){
856
                EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAME_EDITOR, tax.getUuid());
857
            }
858
        }
855 859
    }
856 860

  
857 861

  

Also available in: Unified diff