From 604e59c54a67f10601f52dbd3e1bcef61ef432d3 Mon Sep 17 00:00:00 2001 From: rerorero Date: Thu, 29 Dec 2022 08:52:17 +0900 Subject: [PATCH 1/2] chore: mark tapWithShortPressDuration cap deprecated --- .../io/appium/java_client/remote/IOSMobileCapabilityType.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java b/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java index 410e551a9..4e695f2ab 100644 --- a/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java +++ b/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java @@ -170,7 +170,10 @@ public interface IOSMobileCapabilityType extends CapabilityType { /** * The desired capability to specify a length for tapping, if the regular * tap is too long for the app under test. The XCUITest specific capability. + * + * @Deprecated This capability is not being used. */ + @Deprecated String TAP_WITH_SHORT_PRESS_DURATION = "tapWithShortPressDuration"; /** From 7cd5f48f2ab047b16285ad8e8b33415e24b7fe18 Mon Sep 17 00:00:00 2001 From: rerorero Date: Thu, 29 Dec 2022 17:38:29 +0900 Subject: [PATCH 2/2] fix: deprecated tag should be lower case --- .../io/appium/java_client/remote/IOSMobileCapabilityType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java b/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java index 4e695f2ab..b23150244 100644 --- a/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java +++ b/src/main/java/io/appium/java_client/remote/IOSMobileCapabilityType.java @@ -171,7 +171,7 @@ public interface IOSMobileCapabilityType extends CapabilityType { * The desired capability to specify a length for tapping, if the regular * tap is too long for the app under test. The XCUITest specific capability. * - * @Deprecated This capability is not being used. + * @deprecated This capability is not being used. */ @Deprecated String TAP_WITH_SHORT_PRESS_DURATION = "tapWithShortPressDuration";