File tree Expand file tree Collapse file tree
src/org/labkey/test/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616package org .labkey .test .components ;
1717
1818import org .apache .commons .lang3 .NotImplementedException ;
19+ import org .jetbrains .annotations .NotNull ;
1920import org .labkey .test .Locator ;
2021import org .labkey .test .selenium .RefindingWebElement ;
2122import org .labkey .test .util .TestLogger ;
@@ -44,13 +45,13 @@ public String toString()
4445 }
4546
4647 @ Override
47- public WebElement findElement (By by )
48+ public @ NotNull WebElement findElement (@ NotNull By by )
4849 {
4950 return getComponentElement ().findElement (by );
5051 }
5152
5253 @ Override
53- public List <WebElement > findElements (By by )
54+ public @ NotNull List <WebElement > findElements (@ NotNull By by )
5455 {
5556 return getComponentElement ().findElements (by );
5657 }
@@ -105,13 +106,13 @@ protected ElementCache()
105106 }
106107
107108 @ Override
108- public List <WebElement > findElements (By by )
109+ public @ NotNull List <WebElement > findElements (@ NotNull By by )
109110 {
110111 return getComponentElement ().findElements (by );
111112 }
112113
113114 @ Override
114- public WebElement findElement (By by )
115+ public @ NotNull WebElement findElement (@ NotNull By by )
115116 {
116117 return getComponentElement ().findElement (by );
117118 }
You can’t perform that action at this time.
0 commit comments