aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client/src
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-10 12:06:27 +0200
committerHenri Sara <henri.sara@gmail.com>2017-10-10 13:06:27 +0300
commitab18b6c58ef819dbc0049c4713cf06209d5abc47 (patch)
tree84aec85fe2dbeae4b9b340481c5a18228c4ec296 /compatibility-client/src
parent802bb98b851ab9b15617b283ccdba3dbc517ada6 (diff)
downloadvaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.tar.gz
vaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.zip
Remove unneeded .toString() (#10141)
Diffstat (limited to 'compatibility-client/src')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java3
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java7
2 files changed, 4 insertions, 6 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java
index 771f06881a..57179b678c 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java
@@ -471,8 +471,7 @@ public class GridConnector extends AbstractHasComponentsConnector
} else {
getLogger().warning(
"Visibility changed for a unknown column type in Grid: "
- + column.toString() + ", type "
- + column.getClass());
+ + column + ", type " + column.getClass());
}
}
}
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java
index 3f5e798b7d..65d9adc3c1 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java
@@ -3148,8 +3148,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
if (!columns.contains(column)) {
throw new IllegalArgumentException(
- "Given column is not a column in this grid. "
- + column.toString());
+ "Given column is not a column in this grid. " + column);
}
if (!column.isSortable()) {
@@ -4714,8 +4713,8 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
@Override
public void render(RendererCellReference cell, Object data) {
if (!warned && !(data instanceof String)) {
- getLogger().warning(Column.this.toString() + ": "
- + DEFAULT_RENDERER_WARNING);
+ getLogger().warning(
+ Column.this + ": " + DEFAULT_RENDERER_WARNING);
warned = true;
}