You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
I’m not sure what this code was for. It’s been there for ages (2010,
the git repository doesn’t have older commits, see
https://github.com/AsyncHttpClient/async-http-client/blob/8c62f3ea9c647a
b057f3d9d4d1fef5d76b52e8e8/src/main/java/com/ning/http/client/providers/
netty/NettyResponseFuture.java#L65).
I suspect this was used because of bugs that caused multiple
submissions for the same request. Such bugs have been fixed since then.
Let’s remove this dead code.
Modifications:
Remove `NettyResponseFuture:: isAndSetStatusReceived`.
Result:
Less dead code
0 commit comments