summaryrefslogtreecommitdiffstats
path: root/client-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'client-compiler')
-rw-r--r--client-compiler/src/main/java/com/vaadin/tools/ReportUsage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client-compiler/src/main/java/com/vaadin/tools/ReportUsage.java b/client-compiler/src/main/java/com/vaadin/tools/ReportUsage.java
index 4057c531d6..96020e5cb9 100644
--- a/client-compiler/src/main/java/com/vaadin/tools/ReportUsage.java
+++ b/client-compiler/src/main/java/com/vaadin/tools/ReportUsage.java
@@ -144,10 +144,10 @@ public class ReportUsage {
appendUserAgentProperty(extra, "os.version");
if (extra.length() != 0) {
- userAgent += " (" + extra.toString() + ")";
+ userAgent += " (" + extra + ")";
}
- return userAgent.toString();
+ return userAgent;
}
private static void appendUserAgentProperty(StringBuilder sb,