summaryrefslogtreecommitdiffstats
path: root/testbench-api
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2018-06-01 15:07:50 +0300
committerGitHub <noreply@github.com>2018-06-01 15:07:50 +0300
commit0528aaafa32cec6346e6dc3e8eb0bea02055e2ee (patch)
tree0dc1c7a4ffe8ae78011e9ca0d033c3fcbbdfbdd6 /testbench-api
parentda114a17112a82ee5d188bc5d27d1df8c3a889bc (diff)
downloadvaadin-framework-0528aaafa32cec6346e6dc3e8eb0bea02055e2ee.tar.gz
vaadin-framework-0528aaafa32cec6346e6dc3e8eb0bea02055e2ee.zip
Fix small formatting issues (#10960)
Diffstat (limited to 'testbench-api')
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java
index 42f162fe11..71de712624 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java
@@ -36,9 +36,8 @@ public class ColorPickerPreviewElement extends CssLayoutElement {
public boolean getColorFieldContainsErrors() {
List<WebElement> caption = findElements(
By.className("v-caption-v-colorpicker-preview-textfield"));
- return !caption.isEmpty() &&
- !caption.get(0).findElements(By.className("v-errorindicator"))
- .isEmpty();
+ return !caption.isEmpty() && !caption.get(0)
+ .findElements(By.className("v-errorindicator")).isEmpty();
}
/**