aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-28 07:45:09 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-28 08:45:09 +0300
commit7fd440d2448587f7e9958e84c84ec2bfd30ba8a0 (patch)
treec0186a8d940f07c060fcaf4b03e82271bfa9e5c2 /compatibility-client
parentcb91ab76eecbf85ad598fc5054fa2ec5ab3308f6 (diff)
downloadvaadin-framework-7fd440d2448587f7e9958e84c84ec2bfd30ba8a0.tar.gz
vaadin-framework-7fd440d2448587f7e9958e84c84ec2bfd30ba8a0.zip
Use single character for StringBuilder.append (#10102)
Diffstat (limited to 'compatibility-client')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java2
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/CalendarConnector.java6
2 files changed, 4 insertions, 4 deletions
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 eeeb3f6c6c..cef3b1525d 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
@@ -3127,7 +3127,7 @@ public class VScrollTable extends FlowPanel
if (s.equals(stylePrimaryName)) {
sb.append("-header-drag ");
} else {
- sb.append(" ");
+ sb.append(' ');
}
}
}
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/CalendarConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/CalendarConnector.java
index 9d3e8726a6..4cfc7a2b19 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/CalendarConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/CalendarConnector.java
@@ -185,7 +185,7 @@ public class CalendarConnector extends AbstractLegacyComponentConnector
if (hasEventListener(CalendarEventId.EVENTMOVE)) {
StringBuilder sb = new StringBuilder();
sb.append(DateUtil.formatClientSideDate(event.getStart()));
- sb.append("-");
+ sb.append('-');
sb.append(DateUtil
.formatClientSideTime(event.getStartTime()));
rpc.eventMove(event.getIndex(), sb.toString());
@@ -200,7 +200,7 @@ public class CalendarConnector extends AbstractLegacyComponentConnector
buffer.append(
DateUtil.formatClientSideDate(event.getStart()));
- buffer.append("-");
+ buffer.append('-');
buffer.append(DateUtil
.formatClientSideTime(event.getStartTime()));
@@ -209,7 +209,7 @@ public class CalendarConnector extends AbstractLegacyComponentConnector
buffer = new StringBuilder();
buffer.append(
DateUtil.formatClientSideDate(event.getEnd()));
- buffer.append("-");
+ buffer.append('-');
buffer.append(
DateUtil.formatClientSideTime(event.getEndTime()));