Revision 8422c0cd
Added by Andreas Müller almost 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/caryo/CaryoTaxonImport.java | ||
---|---|---|
135 | 135 |
ResultSet rs = partitioner.getResultSet(); |
136 | 136 |
|
137 | 137 |
int i = 0; |
138 |
Reference<?> sec = state.getTransactionalSourceReference();
|
|
138 |
Reference sec = state.getTransactionalSourceReference(); |
|
139 | 139 |
|
140 | 140 |
//for each reference |
141 | 141 |
while (rs.next()){ |
... | ... | |
711 | 711 |
book.setTitle(bookStr); |
712 | 712 |
|
713 | 713 |
bookMap.put(bookStr, book); |
714 |
getReferenceService().save((Reference<?>)book);
|
|
714 |
getReferenceService().save((Reference)book); |
|
715 | 715 |
} |
716 | 716 |
} |
717 | 717 |
} |
... | ... | |
727 | 727 |
String periodical = rs.getString("PeriodicalTitle"); |
728 | 728 |
if (journalMap.get(periodical) == null ){ |
729 | 729 |
|
730 |
Reference<?> journal = ReferenceFactory.newJournal();
|
|
730 |
Reference journal = ReferenceFactory.newJournal(); |
|
731 | 731 |
|
732 | 732 |
journal.setTitle(periodical); |
733 | 733 |
|
... | ... | |
764 | 764 |
private Classification getClassification(CaryoImportState state) { |
765 | 765 |
if (this.classification == null){ |
766 | 766 |
String name = state.getConfig().getClassificationName(); |
767 |
Reference<?> reference = state.getTransactionalSourceReference();
|
|
767 |
Reference reference = state.getTransactionalSourceReference(); |
|
768 | 768 |
this.classification = Classification.NewInstance(name, reference, Language.DEFAULT()); |
769 | 769 |
if (state.getConfig().getClassificationUuid() != null){ |
770 | 770 |
classification.setUuid(state.getConfig().getClassificationUuid()); |
Also available in: Unified diff
Remove generics from Reference in cdmlib-app #5830