diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-10 12:06:27 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-10-10 13:06:27 +0300 |
commit | ab18b6c58ef819dbc0049c4713cf06209d5abc47 (patch) | |
tree | 84aec85fe2dbeae4b9b340481c5a18228c4ec296 /client-compiler/src | |
parent | 802bb98b851ab9b15617b283ccdba3dbc517ada6 (diff) | |
download | vaadin-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.java | 4 |
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, |