]> source.dussan.org Git - vaadin-framework.git/commit
Fix item caption generators in RadioButton/CheckBoxGroup
authorAleksi Hietanen <aleksi@vaadin.com>
Thu, 29 Sep 2016 06:19:35 +0000 (09:19 +0300)
committerAleksi Hietanen <aleksi@vaadin.com>
Thu, 29 Sep 2016 12:46:55 +0000 (12:46 +0000)
commit599b61bc8598db35fa111880dd4db57f9da2adda
tree42bde1178019eab0546df58538e20890674fd839
parentc4b17ca879c0bb51c7da390fcbd25c96b73486fb
Fix item caption generators in RadioButton/CheckBoxGroup

This patch corrects the behavior of setting caption generators
that may return null.

Additionally renames RadioButtonGroup's ItemIconProviders to
generators, unifying it with other select components.

Change-Id: I5e8491834dccce1c37ab9c2002acc475e8945f4b
server/src/main/java/com/vaadin/ui/AbstractMultiSelect.java
server/src/main/java/com/vaadin/ui/RadioButtonGroup.java
server/src/test/java/com/vaadin/ui/RadioButtonGroupBoVTest.java
uitest/src/main/java/com/vaadin/tests/components/abstractlisting/AbstractMultiSelectTestUI.java
uitest/src/main/java/com/vaadin/tests/components/radiobutton/RadioButtonGroupTestUI.java
uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java
uitest/src/test/java/com/vaadin/tests/components/radiobutton/RadioButtonGroupTest.java
uitest/src/test/java/com/vaadin/tests/components/twincolselect/TwinColSelectTest.java