Skip to content

Commit

Permalink
[java] Reverting back a bit of code to fit Java 8 source compatibilit…
Browse files Browse the repository at this point in the history
…y level
  • Loading branch information
barancev committed Sep 4, 2019
1 parent 0776a74 commit 8e2ea33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ private boolean fuzzyPositionMatching(int expectedX, int expectedY, String locat

private ExpectedCondition<Boolean> fuzzyMatchingOfCoordinates(
final WebElement element, final int x, final int y) {
return new ExpectedCondition<>() {
return new ExpectedCondition<Boolean>() {
@Override
public Boolean apply(WebDriver ignored) {
return fuzzyPositionMatching(x, y, element.getText());
Expand Down

0 comments on commit 8e2ea33

Please sign in to comment.