garydgregory commented on a change in pull request #185: Httpcore 623 b http 
connection is data available()
URL: 
https://github.com/apache/httpcomponents-core/pull/185#discussion_r365611819
 
 

 ##########
 File path: 
httpcore5/src/main/java/org/apache/hc/core5/http/io/BHttpConnection.java
 ##########
 @@ -39,16 +40,16 @@
 public interface BHttpConnection extends HttpConnection {
 
     /**
-     * Checks if inout data is available from the connection. May wait for
+     * Checks if input data is available from the connection. May wait for
      * the specified time until some data becomes available. Note that some
      * implementations may completely ignore the timeout parameter.
      *
-     * @param timeout the maximum time in milliseconds to wait for data
+     * @param timeout the maximum time to wait for data
      * @return true if data is available; false if there was no data available
      *         even after waiting for {@code timeout} milliseconds.
 
 Review comment:
   Good catch, thank you!

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to