Skip to content

Commit 4e8920b

Browse files
authored
chore: Delete all references to removed MobileElement class (#1677)
1 parent 0c13b52 commit 4e8920b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/main/java/io/appium/java_client/pagefactory/ElementInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import java.lang.reflect.Method;
2727

2828
/**
29-
* Intercepts requests to {@link io.appium.java_client.MobileElement}.
29+
* Intercepts requests to {@link WebElement}.
3030
*/
3131
class ElementInterceptor extends InterceptorOfASingleElement {
3232

src/main/java/io/appium/java_client/pagefactory/ElementListInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import java.util.List;
2727

2828
/**
29-
* Intercepts requests to the list of {@link io.appium.java_client.MobileElement}.
29+
* Intercepts requests to the list of {@link WebElement}.
3030
*/
3131
class ElementListInterceptor extends InterceptorOfAListOfElements {
3232

src/main/java/io/appium/java_client/pagefactory/utils/WebDriverUnpackUtility.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public static WebDriver unpackWebDriverFromSearchContext(SearchContext searchCon
5555
((WrapsDriver) searchContext).getWrappedDriver());
5656
}
5757

58-
// Search context it is not only Webdriver. Webelement is search context too.
59-
// RemoteWebElement and MobileElement implement WrapsDriver
58+
// Search context it is not only WebDriver. WebElement is search context too.
59+
// RemoteWebElement implements WrapsDriver
6060
if (searchContext instanceof WrapsElement) {
6161
return unpackWebDriverFromSearchContext(
6262
((WrapsElement) searchContext).getWrappedElement());

0 commit comments

Comments
 (0)