File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
src/main/java/io/appium/java_client Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 5757import org .openqa .selenium .WebElement ;
5858import org .openqa .selenium .html5 .Location ;
5959
60- import org .openqa .selenium .remote .CommandInfo ;
6160import org .openqa .selenium .remote .DesiredCapabilities ;
6261import org .openqa .selenium .remote .DriverCommand ;
6362import org .openqa .selenium .remote .ErrorHandler ;
6766import org .openqa .selenium .remote .Response ;
6867import org .openqa .selenium .remote .html5 .RemoteLocationContext ;
6968import org .openqa .selenium .remote .http .HttpClient ;
70- import org .openqa .selenium .remote .http .HttpMethod ;
7169import org .openqa .selenium .remote .internal .JsonToWebElementConverter ;
7270
7371import java .lang .reflect .Constructor ;
@@ -189,11 +187,6 @@ protected static Capabilities substituteMobilePlatform(Capabilities originalCapa
189187 return dc ;
190188 }
191189
192- @ SuppressWarnings ("unused" )
193- private static CommandInfo deleteC (String url ) {
194- return new CommandInfo (url , HttpMethod .DELETE );
195- }
196-
197190 @ Override public List <T > findElements (By by ) {
198191 return super .findElements (by );
199192 }
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ public static CommandInfo postC(String url) {
126126 return new CommandInfo (url , HttpMethod .POST );
127127 }
128128
129+ public static CommandInfo deleteC (String url ) {
130+ return new CommandInfo (url , HttpMethod .DELETE );
131+ }
132+
129133 /**
130134 * @param param is a parameter name.
131135 * @param value is the parameter value.
You can’t perform that action at this time.
0 commit comments