garydgregory commented on a change in pull request #131: Better HttpVersion and
ProtocolVersion.
URL:
https://github.com/apache/httpcomponents-core/pull/131#discussion_r294025769
##########
File path: httpcore5/src/main/java/org/apache/hc/core5/http/HttpVersion.java
##########
@@ -81,36 +101,22 @@ public HttpVersion(final int major, final int minor) {
super(HTTP, major, minor);
}
-
/**
* Obtains a specific HTTP version.
*
* @param major the major version
* @param minor the minor version
*
- * @return an instance of {@link HttpVersion} with the argument version
+ * @return an instance of {@link HttpVersion} with the argument version
+ * @throws IllegalArgumentException if either major or minor version
number is negative
*/
@Override
public ProtocolVersion forVersion(final int major, final int minor) {
Review comment:
@ok2c I force pushed to remove the methods and another tweak.
----------------------------------------------------------------
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]