final AppendingStringBuffer buffer = new AppendingStringBuffer((choices.size() * 50) + 16);
final String selected = getValue();
buffer.append(getDefaultChoice(selected));
for (int index = 0; index < choices.size(); index++)
{
<BUG>final V choice = choices.get(index);
</BUG>
appendOptionHtml(buffer, choice, index, selected);
}
buffer.append("\n");

final AppendingStringBuffer buffer = new AppendingStringBuffer((choices.size() * 50) + 16);
final String selected = getValue();
buffer.append(getDefaultChoice(selected));
for (int index = 0; index < choices.size(); index++)
{
final E choice = choices.get(index);
appendOptionHtml(buffer, choice, index, selected);
}
buffer.append("\n");
