Project

General

Profile

« Previous | Next » 

Revision 93721827

Added by Andreas Müller about 9 years ago

Use Factory MEthod for Determination Event

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/globis/GlobisImageImport.java
242 242
							}
243 243
							if (taxon == null){
244 244
								//FIXME
245
								Reference undefinedSec = null;
245
								Reference<?> undefinedSec = null;
246 246
								taxon = Taxon.NewInstance(specTaxTaxonName, undefinedSec);
247 247
							}
248 248
							
249
							DeterminationEvent determinationEvent = DeterminationEvent.NewInstance();
250
							determinationEvent.setTaxon(taxon);
251
							determinationEvent.setIdentifiedUnit(specimen);
249
							DeterminationEvent.NewInstance(taxon, specimen);
250

  
252 251
						}
253 252
						
254 253
						

Also available in: Unified diff