annotatableEntity.addAnnotation(annotation);
}else if (config.getEditor().equals(EDITOR.EDITOR_AS_EDITOR)){
User creator;
- boolean xmlSourceAdded= addXmlSource(state, rs, annotatableEntity, createdWho, false);
+ boolean xmlSourceAdded = addXmlSource(state, rs, annotatableEntity, createdWho, false);
if (xmlSourceAdded){
creator = getXmlImporter(state);
}else{
return getUser(state, "import to BM");
}
-
- /**
- * @param state
- * @param rs
- * @param annotatableEntity
- * @param xmlSourceAdded
- * @return
- * @throws SQLException
- */
private boolean addXmlSource(BerlinModelImportState state, ResultSet rs, AnnotatableEntity annotatableEntity, String username, boolean existsAlready) throws SQLException {
if (!state.getConfig().isEuroMed()){
return false;
\r
\r
if (includeAllClassifications){\r
- //add otherdirection\r
+ //add other direction\r
strQuerySelect = "SELECT PTaxon.PTRefFk, r.RefCache ";\r
strQueryFrom = " FROM RelPTaxon rel " +\r
" INNER JOIN PTaxon AS PTaxon ON rel.PTNameFk1 = PTaxon.PTNameFk AND rel.PTRefFk1 = PTaxon.PTRefFk " +\r