Skip to content

Commit 61d1962

Browse files
author
Mykola Mokhnach
committed
Fix argument type
1 parent fe63a94 commit 61d1962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/appium/java_client/appmanagement/ApplicationState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public enum ApplicationState {
2828
* @param code the code received from state querying endpoint.
2929
* @return {@link ApplicationState} instance.
3030
*/
31-
public static ApplicationState ofCode(int code) {
31+
public static ApplicationState ofCode(long code) {
3232
return Arrays.stream(ApplicationState.values())
3333
.filter(x -> code == x.ordinal())
3434
.findFirst()

0 commit comments

Comments
 (0)