summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-11-13 09:22:34 +0200
committerLeif Åstrand <leif@vaadin.com>2015-11-13 09:22:34 +0200
commit7c0c7af2d5a69018ebc38f153df1adb6f0cbaddb (patch)
tree4cef9359b8aa9c5c13c3846fb30a745438c05ff9 /client
parentf3eb1b4383848e28447717502083439d9e0dc0b7 (diff)
downloadvaadin-framework-7c0c7af2d5a69018ebc38f153df1adb6f0cbaddb.tar.gz
vaadin-framework-7c0c7af2d5a69018ebc38f153df1adb6f0cbaddb.zip
Mention cell being a flyweight in WidgetRenderer javadocs
Change-Id: I41de3d75e1141856bb6132aeca11abff4bc7e08f
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/renderers/WidgetRenderer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/renderers/WidgetRenderer.java b/client/src/com/vaadin/client/renderers/WidgetRenderer.java
index 668ec7b59e..1a33894e8e 100644
--- a/client/src/com/vaadin/client/renderers/WidgetRenderer.java
+++ b/client/src/com/vaadin/client/renderers/WidgetRenderer.java
@@ -62,7 +62,9 @@ public abstract class WidgetRenderer<T, W extends Widget> extends
* longer needed.
*
* @param cell
- * the cell to render
+ * The cell to render. Note that the cell is a flyweight and
+ * should not be stored and used outside of this method as its
+ * contents will change.
* @param data
* the data of the cell
* @param widget