Skip to content

Commit fa58816

Browse files
committed
fix: class guard
1 parent fa85fb8 commit fa58816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arex-instrumentation/httpclient/arex-httpclient-apache-v4/src/main/java/io/arex/inst/httpclient/apache/common/ApacheHttpClientAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static void bufferResponseEntity(HttpResponse response) {
158158
}
159159

160160
private byte[] getEntityBytes(HttpEntity entity) {
161-
if (!(entity instanceof BufferedHttpEntity)) {
161+
if (!(entity instanceof ArexBufferedHttpEntity)) {
162162
return ZERO_BYTE;
163163
}
164164
try {

0 commit comments

Comments
 (0)