mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
Code simplifications
This commit is contained in:
1 parent
41c0281cd5
commit
b768b3e2d6
1 file changed
+1
-2
+1
-2
@@ -56,8 +56,7 @@ public class RegattaDetailsCompositePO extends PageArea {
|
||||
if (entry != null) {
|
||||
WebElement action = ActionsHelper.findEditAction(entry.getWebElement());
|
||||
action.click();
|
||||
WebElement dialog = findElementBySeleniumId(this.driver, "SeriesEditDialog");
|
||||
return new SeriesEditDialogPO(this.driver, dialog);
|
||||
return getPO(SeriesEditDialogPO::new, "SeriesEditDialog");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user