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

This commit is contained in:
Jesse Glick committed 2014-10-07 14:06:49 -04:00
1 parent f8146742ed
commit bbb60e51ed
1 file changed
+5
@@ -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) {