aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-18 09:27:03 +0300
committerArtur Signell <artur@vaadin.com>2016-08-18 09:27:03 +0300
commit6d54d78944f6c3278eed3bb5e7ee19687ee5714e (patch)
tree8142f622e644e98bb3f8d19a7021fd125f9fed40 /uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java
parent7b899665d07be33f86015f71695868c70bc5a589 (diff)
downloadvaadin-framework-6d54d78944f6c3278eed3bb5e7ee19687ee5714e.tar.gz
vaadin-framework-6d54d78944f6c3278eed3bb5e7ee19687ee5714e.zip
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java b/uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java
index 8e1df42f50..99e032a40b 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/TooltipPositionTest.java
@@ -164,10 +164,10 @@ public class TooltipPositionTest extends MultiBrowserTest {
int yTop = topLeft.getY();
int xRight = xLeft + tooltipSize.getWidth() - 1;
int yBottom = yTop + tooltipSize.getHeight() - 1;
- boolean overlapHorizontally = !(xRight < 0 || xLeft >= windowSize
- .getWidth());
- boolean overlapVertically = !(yBottom < 0 || yTop >= windowSize
- .getHeight());
+ boolean overlapHorizontally = !(xRight < 0
+ || xLeft >= windowSize.getWidth());
+ boolean overlapVertically = !(yBottom < 0
+ || yTop >= windowSize.getHeight());
return !(overlapHorizontally && overlapVertically);
}
} \ No newline at end of file