summaryrefslogtreecommitdiffstats
path: root/buildhelpers
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-09 12:49:10 +0200
committerHenri Sara <henri.sara@gmail.com>2017-10-09 13:49:10 +0300
commit9494818412d3f7d9aa9b8817dd6d62bb64963753 (patch)
tree7d53ae6fb3d1da2da5a47da8460a52980aaea2f4 /buildhelpers
parent915463b21a339b6bbc741ac1ce325ba209d821c9 (diff)
downloadvaadin-framework-9494818412d3f7d9aa9b8817dd6d62bb64963753.tar.gz
vaadin-framework-9494818412d3f7d9aa9b8817dd6d62bb64963753.zip
Use StringBuilder instead of StringBuffer (#10154)
Diffstat (limited to 'buildhelpers')
-rw-r--r--buildhelpers/src/main/java/com/vaadin/buildhelpers/CompileTheme.java2
-rw-r--r--buildhelpers/src/main/java/com/vaadin/buildhelpers/ManifestWriter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildhelpers/src/main/java/com/vaadin/buildhelpers/CompileTheme.java b/buildhelpers/src/main/java/com/vaadin/buildhelpers/CompileTheme.java
index 1c6b02268c..4cb5d70019 100644
--- a/buildhelpers/src/main/java/com/vaadin/buildhelpers/CompileTheme.java
+++ b/buildhelpers/src/main/java/com/vaadin/buildhelpers/CompileTheme.java
@@ -91,7 +91,7 @@ public class CompileTheme {
private static void processSassTheme(String themeFolder, String themeName,
String variant, String version) throws Exception {
- StringBuffer cssHeader = new StringBuffer();
+ StringBuilder cssHeader = new StringBuilder();
String stylesCssDir = themeFolder + File.separator + themeName
+ File.separator;
diff --git a/buildhelpers/src/main/java/com/vaadin/buildhelpers/ManifestWriter.java b/buildhelpers/src/main/java/com/vaadin/buildhelpers/ManifestWriter.java
index fec19a4d05..c82303e3e1 100644
--- a/buildhelpers/src/main/java/com/vaadin/buildhelpers/ManifestWriter.java
+++ b/buildhelpers/src/main/java/com/vaadin/buildhelpers/ManifestWriter.java
@@ -26,7 +26,7 @@ import java.util.Date;
import java.util.jar.Manifest;
public class ManifestWriter {
- StringBuffer buffer = new StringBuffer();
+ StringBuilder buffer = new StringBuilder();
public ManifestWriter() {
}