diff options
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.java | 8 |
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 |