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 2020/08/05 08:51:44 UTC

[GitHub] [httpcomponents-core] michael-o commented on a change in pull request #211: HTTPCORE-642: Cleaner ConnectionFactory builder ContentLengthStrategy names

michael-o commented on a change in pull request #211:
URL: https://github.com/apache/httpcomponents-core/pull/211#discussion_r465574464



##########
File path: httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/DefaultBHttpClientConnectionFactory.java
##########
@@ -140,12 +140,12 @@ public Builder charCodingConfig(final CharCodingConfig charCodingConfig) {
             return this;
         }
 
-        public Builder incomingContentStrategy(final ContentLengthStrategy incomingContentStrategy) {
+        public Builder incomingContentLengthStrategy(final ContentLengthStrategy incomingContentStrategy) {

Review comment:
       You forgot to rename the instance field names and argument name. They are still misleading.




----------------------------------------------------------------
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:
users@infra.apache.org



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