Skip to content

Commit 411312a

Browse files
committed
replaced references to HttpVerb with HttpMethod. fixes #103
1 parent c53ca79 commit 411312a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/io/appium/java_client/AppiumDriver.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.openqa.selenium.html5.LocationContext;
2626
import org.openqa.selenium.remote.*;
2727
import org.openqa.selenium.remote.html5.RemoteLocationContext;
28+
import org.openqa.selenium.remote.http.HttpMethod;
2829

2930
import javax.xml.bind.DatatypeConverter;
3031
import java.net.URL;
@@ -672,15 +673,15 @@ private TouchAction createTap(int x, int y, int duration) {
672673
}
673674

674675
private static CommandInfo getC(String url) {
675-
return new CommandInfo(url, HttpVerb.GET);
676+
return new CommandInfo(url, HttpMethod.GET);
676677
}
677678

678679
private static CommandInfo postC(String url) {
679-
return new CommandInfo(url, HttpVerb.POST);
680+
return new CommandInfo(url, HttpMethod.POST);
680681
}
681682

682683
private static CommandInfo deleteC(String url) {
683-
return new CommandInfo(url, HttpVerb.DELETE);
684+
return new CommandInfo(url, HttpMethod.DELETE);
684685
}
685686

686687
public URL getRemoteAddress() {

0 commit comments

Comments
 (0)