Skip to content

Commit

Permalink
Remove TODO to handle close call on entity (#6501)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjav-desai authored Jun 29, 2023
1 parent df84c0e commit 39bd2aa
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,6 @@ public int read(byte[] b, int off, int len) throws IOException {
return currentBuffer.read(b, off, len);
}

@Override
public void close() throws IOException {
if (!finished) {
// TODO we need to close the connection!
}
super.close();
}

private void ensureBuffer(int estimate) {
if (currentBuffer != null && currentBuffer.consumed()) {
currentBuffer = null;
Expand Down

0 comments on commit 39bd2aa

Please sign in to comment.