Project

General

Profile

Revision 49a38456

ID49a384563fd0bf994ccad70ad2ab120f015601e9
Parent da93d83b
Child 616de8d6

Added by Andreas Müller about 2 months ago

close csv reader for TermLoader

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/term/init/TermLoader.java
63 63
				UUID uuidTerm = UUID.fromString(nextLine[0]);
64 64
				termSet.add(uuidTerm);
65 65
			}
66
			reader.close();
66 67
			return uuidVocabulary;
67 68

  
68 69
		} catch (Exception e) {
......
111 112
				handleSingleTerm(nextLine, terms, termClass, voc,
112 113
						abbrevAsId, classDefiningTermInstance);
113 114
			}
115
	        reader.close();
114 116
			return voc;
115 117
		} catch (Exception e) {
116 118
			logger.error(e + " " + e.getCause() + " " + e.getMessage());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)