diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-09 12:49:10 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-10-09 13:49:10 +0300 |
commit | 9494818412d3f7d9aa9b8817dd6d62bb64963753 (patch) | |
tree | 7d53ae6fb3d1da2da5a47da8460a52980aaea2f4 /compatibility-client | |
parent | 915463b21a339b6bbc741ac1ce325ba209d821c9 (diff) | |
download | vaadin-framework-9494818412d3f7d9aa9b8817dd6d62bb64963753.tar.gz vaadin-framework-9494818412d3f7d9aa9b8817dd6d62bb64963753.zip |
Use StringBuilder instead of StringBuffer (#10154)
Diffstat (limited to 'compatibility-client')
3 files changed, 3 insertions, 3 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java index 9bfb6c1eeb..b825cec550 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java @@ -136,7 +136,7 @@ public class VFilterSelect extends Composite @Override public String getDisplayString() { - final StringBuffer sb = new StringBuffer(); + final StringBuilder sb = new StringBuilder(); final Icon icon = client .getIcon(client.translateVaadinUri(untranslatedIconUri)); if (icon != null) { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index af7b78b271..ce97348589 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -3987,7 +3987,7 @@ public class VScrollTable extends FlowPanel @Override public String getHTML() { - final StringBuffer buf = new StringBuffer(); + final StringBuilder buf = new StringBuilder(); buf.append("<span class=\""); if (collapsed) { buf.append("v-off"); 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 366257c0e2..3f5e798b7d 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 @@ -4048,7 +4048,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, } private String createHTML(Column<?, T> column) { - final StringBuffer buf = new StringBuffer(); + final StringBuilder buf = new StringBuilder(); buf.append("<span class=\""); if (column.isHidden()) { buf.append("v-off"); |