Revision 60e8c5d1
Added by Andreas Müller over 6 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/init/TermLoader.java | ||
---|---|---|
56 | 56 |
CSVReader reader = getCsvReader(vocType); |
57 | 57 |
String[] nextLine = reader.readNext(); |
58 | 58 |
UUID uuidVocabulary = UUID.fromString(nextLine[0]); |
59 |
Set<UUID> termSet = new HashSet<UUID>();
|
|
59 |
Set<UUID> termSet = new HashSet<>(); |
|
60 | 60 |
uuidMap.put(uuidVocabulary, termSet); |
61 | 61 |
|
62 | 62 |
while ( (nextLine = reader.readNext()) != null) { |
Also available in: Unified diff
cleanup