Skip to content

Commit 5968b8f

Browse files
committed
Fix name
1 parent cae177a commit 5968b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/main/java/org/asynchttpclient/ResponseBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected ResponseBase(HttpResponseStatus status, HttpResponseHeaders headers, L
2828

2929
protected abstract List<Cookie> buildCookies();
3030

31-
protected Charset calculateCharset(Charset charset) {
31+
protected Charset computeCharset(Charset charset) {
3232

3333
if (charset == null) {
3434
String contentType = getContentType();

client/src/main/java/org/asynchttpclient/netty/NettyResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public String getResponseBody() {
8989

9090
@Override
9191
public String getResponseBody(Charset charset) {
92-
return new String(getResponseBodyAsBytes(), calculateCharset(charset));
92+
return new String(getResponseBodyAsBytes(), computeCharset(charset));
9393
}
9494

9595
@Override

0 commit comments

Comments
 (0)