Revision e66d9d39
Added by Katja Luther about 13 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java | ||
---|---|---|
1154 | 1154 |
if (ecologyText == null){ |
1155 | 1155 |
ecology.removeText(language); |
1156 | 1156 |
}else{ |
1157 |
ecology.putText(ecologyText, language);
|
|
1157 |
ecology.putText(language, ecologyText);
|
|
1158 | 1158 |
} |
1159 | 1159 |
} |
1160 | 1160 |
public void removeEcology(Language language){ |
... | ... | |
1223 | 1223 |
if (plantDescriptionText == null){ |
1224 | 1224 |
plantDescription.removeText(language); |
1225 | 1225 |
}else{ |
1226 |
plantDescription.putText(plantDescriptionText, language);
|
|
1226 |
plantDescription.putText(language, plantDescriptionText);
|
|
1227 | 1227 |
} |
1228 | 1228 |
} |
1229 | 1229 |
public void removePlantDescription(Language language){ |
Also available in: Unified diff
replace deprecated methods with new ones #2176