Project

General

Profile

Revision 065e4df4

ID065e4df41824ce660c957d898ce221af9aea341a
Parent 08bcc80a
Child d728f00f

Added by Patrick Plitzner about 2 years ago

Fix possible NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/GfBioTerminologyImportPresenter.java
12 12
import java.util.Collection;
13 13
import java.util.Collections;
14 14
import java.util.Comparator;
15
import java.util.HashSet;
15 16
import java.util.Iterator;
16 17
import java.util.List;
17 18
import java.util.stream.Collectors;
......
64 65
    private GfBioTerminologyImportComposite composite;
65 66
    private Collection<TerminologyWrapper> selectedOntologies = new ArrayList<>();
66 67
    private UISynchronize sync;
67
    private volatile Collection<TerminologyWrapper> availableOntologies;
68
    private volatile Collection<TerminologyWrapper> availableOntologies = new HashSet<>();
68 69

  
69 70
    public GfBioTerminologyImportPresenter(GfBioTerminologyImportComposite composite, UISynchronize sync) {
70 71
        super();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)