diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-23 08:45:49 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-23 09:45:49 +0300 |
commit | 40d15b32e341a38dacc24cc3ec79ab3ff0a25a50 (patch) | |
tree | ea0f03e7e3b4ed2af1e632065b4c7e8c30eb9d76 /client/src/test/java | |
parent | d3c752e0f2abec08cd98a66495d1345ad0f56d83 (diff) | |
download | vaadin-framework-40d15b32e341a38dacc24cc3ec79ab3ff0a25a50.tar.gz vaadin-framework-40d15b32e341a38dacc24cc3ec79ab3ff0a25a50.zip |
Construct array inline (#10068)
And some trivial test enhancements
Diffstat (limited to 'client/src/test/java')
-rw-r--r-- | client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java b/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java index 1473af44ae..b901cadf24 100644 --- a/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java +++ b/client/src/test/java/com/vaadin/client/ApplicationConnectionURLGenerationTest.java @@ -8,7 +8,7 @@ import com.vaadin.shared.util.SharedUtil; public class ApplicationConnectionURLGenerationTest { - private static final String[] URIS = new String[] { + private static final String[] URIS = { "http://demo.vaadin.com/", // "https://demo.vaadin.com/", "http://demo.vaadin.com/foo", "http://demo.vaadin.com/foo?f", "http://demo.vaadin.com/foo?f=1", @@ -20,7 +20,7 @@ public class ApplicationConnectionURLGenerationTest { "http://vaadin.com/directory?p_p_id=Directory_WAR_Directory&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=UIDL&p_p_cacheability=cacheLevelPage&p_p_col_id=row-1&p_p_col_count=1", }; - private static final String[] URIS_WITH_ABCD_PARAM = new String[] { + private static final String[] URIS_WITH_ABCD_PARAM = { "http://demo.vaadin.com/?a=b&c=d", "https://demo.vaadin.com/?a=b&c=d", "http://demo.vaadin.com/foo?a=b&c=d", @@ -33,7 +33,7 @@ public class ApplicationConnectionURLGenerationTest { }; - private static final String[] URIS_WITH_ABCD_PARAM_AND_FRAGMENT = new String[] { + private static final String[] URIS_WITH_ABCD_PARAM_AND_FRAGMENT = { "http://demo.vaadin.com/?a=b&c=d#fragment", "https://demo.vaadin.com/?a=b&c=d#fragment", "http://demo.vaadin.com/foo?a=b&c=d#fragment", |