Fixed choice typos

This commit is contained in:
Oleg Agafonov 2017-12-28 04:14:37 +04:00
parent 9d1f6ed48e
commit 3bdd2ae8bb

View file

@ -65,7 +65,9 @@ public class ChoiceImpl implements Choice, Serializable {
this.chosen = choice.chosen;
this.required = choice.required;
this.message = choice.message;
this.message = choice.subMessage;
this.subMessage = choice.subMessage;
this.searchEnabled = choice.searchEnabled;
this.searchText = choice.searchText;
this.choices.addAll(choice.choices);
this.choiceKey = choice.choiceKey;
this.keyChoices = choice.keyChoices; // list should never change for the same object so copy by reference