diff options
Diffstat (limited to 'client/src/test')
-rw-r--r-- | client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java | 2 |
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")); |