diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-11-21 09:57:39 +0100 |
---|---|---|
committer | Aleksi Hietanen <aleksi@vaadin.com> | 2017-11-21 10:57:39 +0200 |
commit | 94409e2221f14d2b592cfd41b17b000aed091600 (patch) | |
tree | 668210307559595ceaa2971185ce8e9b922c8b92 /client | |
parent | 927cb26c510dec1b7348760a65ca4e9522651960 (diff) | |
download | vaadin-framework-94409e2221f14d2b592cfd41b17b000aed091600.tar.gz vaadin-framework-94409e2221f14d2b592cfd41b17b000aed091600.zip |
Remove unused imports (#10330)
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/FocusUtil.java | 6 | ||||
-rw-r--r-- | client/src/test/java/com/vaadin/client/VBrowserDetailsUserAgentParserTest.java | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/FocusUtil.java b/client/src/main/java/com/vaadin/client/ui/FocusUtil.java index 9a0a4ecea4..6fbbc5d9df 100644 --- a/client/src/main/java/com/vaadin/client/ui/FocusUtil.java +++ b/client/src/main/java/com/vaadin/client/ui/FocusUtil.java @@ -102,16 +102,14 @@ public class FocusUtil { return focusableChildren; }-*/; - public static void focusOnFirstFocusableElement(Element parent) - { + public static void focusOnFirstFocusableElement(Element parent) { Element[] focusableChildren = getFocusableChildren(parent); if (focusableChildren.length > 0) { focusableChildren[0].focus(); } } - public static void focusOnLastFocusableElement(Element parent) - { + public static void focusOnLastFocusableElement(Element parent) { Element[] focusableChildren = getFocusableChildren(parent); if (focusableChildren.length > 0) { focusableChildren[focusableChildren.length - 1].focus(); diff --git a/client/src/test/java/com/vaadin/client/VBrowserDetailsUserAgentParserTest.java b/client/src/test/java/com/vaadin/client/VBrowserDetailsUserAgentParserTest.java index 79d278acd1..a1695bbde6 100644 --- a/client/src/test/java/com/vaadin/client/VBrowserDetailsUserAgentParserTest.java +++ b/client/src/test/java/com/vaadin/client/VBrowserDetailsUserAgentParserTest.java @@ -4,7 +4,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import org.junit.Assert; import org.junit.Test; import com.vaadin.shared.VBrowserDetails; |