diff --git a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1CallChainBase.java b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1CallChainBase.java index efc20d457d2..3f616060f3d 100644 --- a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1CallChainBase.java +++ b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1CallChainBase.java @@ -304,7 +304,6 @@ private ClientConnection obtainConnection(WebClientServiceRequest request, Durat static class ContentLengthInputStream extends InputStream { private final DataReader reader; - private final long length; private final Runnable entityProcessedRunnable; private final HelidonSocket socket; @@ -319,7 +318,6 @@ static class ContentLengthInputStream extends InputStream { long length) { this.socket = socket; this.reader = reader; - this.length = length; this.remainingLength = length; // we can only get the response at the time of completion, as the instance is created after this constructor // returns