summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorelmot <elmot@vaadin.com>2016-09-29 18:52:35 +0300
committerelmot <elmot@vaadin.com>2016-09-30 08:02:54 +0300
commitdb3a91c9b4d8d0451c8f1c5e875f4c6f6f50324a (patch)
tree27a2193cbae9dc25869cf2240eeaa9ffd3d5e8af /server
parent2bee988272657df4d886ea79b04be9fbc54d3928 (diff)
downloadvaadin-framework-db3a91c9b4d8d0451c8f1c5e875f4c6f6f50324a.tar.gz
vaadin-framework-db3a91c9b4d8d0451c8f1c5e875f4c6f6f50324a.zip
Fix RadioButtonGroup client-side NPE which breaks item icons.
Change-Id: I3a9c887196b503eaa8c2307d7a714ce61e6deacc
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/RadioButtonGroup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java
index 2e7ff8a706..13aa840462 100644
--- a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java
+++ b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java
@@ -169,7 +169,7 @@ public class RadioButtonGroup<T> extends AbstractSingleSelect<T> {
* Returns the item icon generator.
*
* @return the currently set icon generator
- * @see #setItemIconProvider
+ * @see #setItemIconGenerator
* @see IconGenerator
*/
public IconGenerator<T> getItemIconGenerator() {
@@ -179,8 +179,8 @@ public class RadioButtonGroup<T> extends AbstractSingleSelect<T> {
/**
* Sets the item icon generator for this radiobutton group. The icon
* generator is queried for each item to optionally display an icon next to
- * the item caption. If the provider returns null for an item, no icon is
- * displayed. The default provider always returns null (no icons).
+ * the item caption. If the generator returns null for an item, no icon is
+ * displayed. The default generator always returns null (no icons).
*
* @param itemIconGenerator
* the icon generator, not null