Skip to content

Commit 99e95bc

Browse files
committed
update okhttp 4.0.1 to 4.1.0
1 parent 8caa3ae commit 99e95bc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>com.squareup.okhttp3</groupId>
6969
<artifactId>mockwebserver</artifactId>
70-
<version>4.0.1</version>
70+
<version>4.1.0</version>
7171
<scope>test</scope>
7272
</dependency>
7373
</dependencies>

scribejava-core/src/main/java/com/github/scribejava/core/model/Response.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public boolean isSuccessful() {
5555

5656
/**
5757
* Returns the response body as a string, closing the stream that backs it. Idempotent.
58+
*
59+
* @return body as string
60+
* @throws IOException IO Exception
5861
*/
5962
public String getBody() throws IOException {
6063
return body == null ? parseBodyContents() : body;

scribejava-httpclient-okhttp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>com.squareup.okhttp3</groupId>
2525
<artifactId>okhttp</artifactId>
26-
<version>4.0.1</version>
26+
<version>4.1.0</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>com.github.scribejava</groupId>

0 commit comments

Comments
 (0)