提交 bbb60e51 编写于 作者: J Jesse Glick

Adding Option.toString; should make ListBoxModel.toString more useful for tests or debugging.

上级 f8146742
......@@ -125,6 +125,11 @@ public class ListBoxModel extends ArrayList<ListBoxModel.Option> implements Http
this.value = value;
this.selected = selected;
}
@Override public String toString() {
return name + "=" + value + (selected ? "[selected]" : "");
}
}
public ListBoxModel(int initialCapacity) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册