Project

General

Profile

« Previous | Next » 

Revision 79052a88

Added by Patrick Plitzner over 5 years ago

Fix potential NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
477 477
     *            object.
478 478
     */
479 479
    public void destroySelectionArbitrator(SelectionArbitrator selectionArbitrator) {
480
        if(selectionArbitrator==null){
481
            return;
482
        }
480 483
        removeSelectionListener(selectionArbitrator);
481 484
        if (selectionProvider != null) {
482 485
            selectionProvider.removeSelectionChangedListener(selectionArbitrator);

Also available in: Unified diff