You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2022/10/29 03:50:21 UTC

[GitHub] [httpcomponents-core] ljy5490 opened a new pull request, #372: remove unnecessary if statement

ljy5490 opened a new pull request, #372:
URL: https://github.com/apache/httpcomponents-core/pull/372

   since in outer if conditions we have `freeCapacity > 0` and `totalAvailable > freeCapacity - 1`, which indicates  `totalAvailable` will always be large than 0, thus `!this.available.isEmpty()` is always true.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[GitHub] [httpcomponents-core] ok2c merged pull request #372: remove unnecessary if statement

Posted by GitBox <gi...@apache.org>.
ok2c merged PR #372:
URL: https://github.com/apache/httpcomponents-core/pull/372


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org