summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-12-30 11:27:03 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-01-02 14:40:31 +0000
commit2e4677b67a63980fd71955d4325c4e329a95f5e8 (patch)
treefdf08ef102535054f9a7ba2e1b2c410d12731e97 /client
parentad1252def1f1fe8d55edd711d6031a2db3985479 (diff)
downloadvaadin-framework-2e4677b67a63980fd71955d4325c4e329a95f5e8.tar.gz
vaadin-framework-2e4677b67a63980fd71955d4325c4e329a95f5e8.zip
Fix DefaultTextRenderer warning with String data (#15430)
Change-Id: I04eae1e82da6bb0213be19599c7d8fc3085a92a5
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 4756921325..a32dccd391 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -2516,7 +2516,7 @@ public class Grid<T> extends ResizeComposite implements
@Override
public void render(RendererCellReference cell, Object data) {
- if (!warned) {
+ if (!warned && !(data instanceof String)) {
getLogger().warning(
Column.this.toString() + ": "
+ DEFAULT_RENDERER_WARNING);