Skip to content

Commit 935bdf4

Browse files
committed
update OkHTTP
1 parent 0a8ce3c commit 935bdf4

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<dependency>
6969
<groupId>com.squareup.okhttp3</groupId>
7070
<artifactId>mockwebserver</artifactId>
71-
<version>3.11.0</version>
71+
<version>3.12.0</version>
7272
<scope>test</scope>
7373
</dependency>
7474
</dependencies>
@@ -107,7 +107,7 @@
107107
<dependency>
108108
<groupId>com.puppycrawl.tools</groupId>
109109
<artifactId>checkstyle</artifactId>
110-
<version>8.14</version>
110+
<version>8.15</version>
111111
</dependency>
112112
</dependencies>
113113
</plugin>

scribejava-httpclient-okhttp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<version>6.1.1-SNAPSHOT</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
11-
11+
1212
<groupId>com.github.scribejava</groupId>
1313
<artifactId>scribejava-httpclient-okhttp</artifactId>
1414
<name>ScribeJava Async OkHttp Client support</name>
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>com.squareup.okhttp3</groupId>
2525
<artifactId>okhttp</artifactId>
26-
<version>3.11.0</version>
26+
<version>3.12.0</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>com.github.scribejava</groupId>

scribejava-httpclient-okhttp/src/test/java/com/github/scribejava/httpclient/okhttp/MockCall.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import okhttp3.Callback;
99
import okhttp3.Request;
1010
import okhttp3.Response;
11+
import okio.Timeout;
1112

1213
public class MockCall implements Call {
1314

@@ -51,4 +52,9 @@ public boolean isExecuted() {
5152
public Call clone() {
5253
throw new UnsupportedOperationException("Not supported yet.");
5354
}
55+
56+
@Override
57+
public Timeout timeout() {
58+
throw new UnsupportedOperationException("Not supported yet.");
59+
}
5460
}

0 commit comments

Comments
 (0)