summaryrefslogtreecommitdiffstats
path: root/client/src/test
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-21 10:51:51 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-21 11:51:51 +0300
commit867006d2f81aa813c36f614fc6f1b98a5937c5f3 (patch)
treefb2c34b1b58db8b3610a4a47010196069e90c436 /client/src/test
parent719b12e44afc8b62458b1e29d1503e28544acc24 (diff)
downloadvaadin-framework-867006d2f81aa813c36f614fc6f1b98a5937c5f3.tar.gz
vaadin-framework-867006d2f81aa813c36f614fc6f1b98a5937c5f3.zip
Use String.isEmpty() (#10045)
Diffstat (limited to 'client/src/test')
-rw-r--r--client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java b/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
index 8a84208ea8..1473af44ae 100644
--- a/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
+++ b/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
@@ -56,7 +56,7 @@ public class ApplicationConnectionURLGenerationTest {
SharedUtil.addGetParameters(URIS[i], "a=b&c=d"));
// Fragments
- if (URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i].length() > 0) {
+ if (!URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i].isEmpty()) {
assertEquals(URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i], SharedUtil
.addGetParameters(URIS[i] + "#fragment", "a=b&c=d"));