Revision a7f996b4
Added by Katja Luther over 13 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/PolytomousKeyNode.java | ||
---|---|---|
533 | 533 |
* Use the {@link #putModifyingText(LanguageString) putModifyingText} method instead |
534 | 534 |
*/ |
535 | 535 |
public LanguageString addModifyingText(LanguageString description){ |
536 |
return this.modifyingText.put(description.getLanguage(),description);
|
|
536 |
return this.putModifyingText(description);
|
|
537 | 537 |
} |
538 | 538 |
|
539 | 539 |
/** |
... | ... | |
564 | 564 |
* Use the {@link #putModifyingText(Language, String) putModifyingText} method instead |
565 | 565 |
*/ |
566 | 566 |
public LanguageString addModifyingText(String text, Language language){ |
567 |
return this.modifyingText.put(language, LanguageString.NewInstance(text, language));
|
|
567 |
return this.putModifyingText(language, text);
|
|
568 | 568 |
} |
569 | 569 |
|
570 | 570 |
/** |
Also available in: Unified diff
the deprecated methods call the new methods (#2176)