Revision 5625c26e
Added by Andreas Müller almost 10 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/algaterra/AlgaTerraCollectionImport.java | ||
---|---|---|
180 | 180 |
String name, String town, String ihCode, Reference<?> sourceRef, String namespace, Map<String, Collection> collectionMap) { |
181 | 181 |
Collection collection = Collection.NewInstance(); |
182 | 182 |
collection.setName(name); |
183 |
if (isNotBlank(ihCode)){ |
|
183 |
if (isNotBlank(ihCode) && ! "--".equals(ihCode)){
|
|
184 | 184 |
collection.setCode(ihCode); |
185 | 185 |
collection.setCodeStandard("Index Herbariorum"); |
186 | 186 |
} |
Also available in: Unified diff
handle "--" ihCode