if (choices == null) {
return;
}
for (Choice<Boolean> choice : choices) {
CmisChoiceBoolean newChoice = new CmisChoiceBoolean();
convertChoiceBooleanList(choice.getChoice(), newChoice.getChoice());
newChoice.setDisplayName(choice.getDisplayName());
if (choice.getValue() != null) {
for (Boolean value : choice.getValue()) {
newChoice.getValue().add(value);
}
}
target.add(newChoice);
}