aboutsummaryrefslogtreecommitdiffstats
path: root/client-compiler/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 /client-compiler/src
parent802bb98b851ab9b15617b283ccdba3dbc517ada6 (diff)
downloadvaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.tar.gz
vaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.zip
Remove unneeded .toString() (#10141)
Diffstat (limited to 'client-compiler/src')
-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,