mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-19 15:03:06 +00:00
Adding Option.toString; should make ListBoxModel.toString more useful for tests or debugging.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user