Skip to content

Commit

Permalink
4.x: Remove unnecessary field length from ContentLengthInputStream (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
Captain1653 authored Jul 20, 2024
1 parent 6cc3cce commit 684e198
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit 684e198

Please sign in to comment.