Revision 792cdb2f
Added by Andreas Müller almost 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/plantglossary/PlantGlossaryCsvImportState.java | ||
---|---|---|
77 | 77 |
propertyVoc.addSource(IdentifiableSource.NewInstance(OriginalSourceType.Import, citation.getTitle(), null, citation, null)); |
78 | 78 |
} |
79 | 79 |
|
80 |
@Override |
|
81 |
public void resetSession(){ |
|
82 |
super.resetSession(); |
|
83 |
} |
|
84 |
|
|
85 | 80 |
public TermVocabulary<DefinedTerm> getPropertyVoc() { |
86 | 81 |
return propertyVoc; |
87 | 82 |
} |
app-import/src/main/java/eu/etaxonomy/cdm/io/plantglossary/kew/KewPlantGlossaryCsvImportState.java | ||
---|---|---|
54 | 54 |
citation.setIsbn("978-1-84246-422-9"); |
55 | 55 |
} |
56 | 56 |
|
57 |
@Override |
|
58 |
public void resetSession(){ |
|
59 |
super.resetSession(); |
|
60 |
} |
|
61 |
|
|
62 | 57 |
public boolean isTermPresent(String termName, ITermService termService) { |
63 | 58 |
if(existingTerms.isEmpty()){ |
64 | 59 |
existingTerms = termService.getUuidAndTitleCache(null, "*"); |
app-import/src/main/java/eu/etaxonomy/cdm/io/prometheus/PrometheusPropertiesCsvImportState.java | ||
---|---|---|
51 | 51 |
citation.setPages("751-756"); |
52 | 52 |
} |
53 | 53 |
|
54 |
@Override |
|
55 |
public void resetSession(){ |
|
56 |
super.resetSession(); |
|
57 |
} |
|
58 |
|
|
59 | 54 |
public boolean isTermPresent(String termName, ITermService termService) { |
60 | 55 |
if(existingTerms.isEmpty()){ |
61 | 56 |
existingTerms = termService.list(State.class, null, null, null, null); |
Also available in: Unified diff
remove unnecessary super.resetSession calls