Project

General

Profile

Revision 79052a88

ID79052a88bea63d14d023fefabaa60104755c31c4
Parent 2a6e2626
Child 3b7513fa

Added by Patrick Plitzner about 3 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

Add picture from clipboard (Maximum size: 40 MB)