You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/09/09 10:54:25 UTC

[httpcomponents-core] branch HTTPCORE-598 created (now 36d31b1)

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a change to branch HTTPCORE-598
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git.


      at 36d31b1  HTTPCORE-598: corrected misspelled method name (no functional changes)

This branch includes the following new commits:

     new 36d31b1  HTTPCORE-598: corrected misspelled method name (no functional changes)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[httpcomponents-core] 01/01: HTTPCORE-598: corrected misspelled method name (no functional changes)

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch HTTPCORE-598
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git

commit 36d31b162fee0bd842a9cf8e89fe4767a4a3ee4d
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Mon Sep 9 12:49:20 2019 +0200

    HTTPCORE-598: corrected misspelled method name (no functional changes)
---
 .../core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java   | 10 +++++++++-
 .../hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java   | 10 +++++++++-
 .../hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java  | 10 +++++++++-
 .../hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java     | 10 +++++++++-
 .../apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java   | 10 +++++++++-
 5 files changed, 45 insertions(+), 5 deletions(-)

diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
index 68fc5d4..83ef717 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
@@ -140,12 +140,20 @@ public class H2RequesterBootstrap {
     /**
      * Sets HTTP/1.1 protocol parameters
      */
-    public final H2RequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+    public final H2RequesterBootstrap setHttp1Config(final Http1Config http1Config) {
         this.http1Config = http1Config;
         return this;
     }
 
     /**
+     * @deprecated Use {@link #setHttp1Config(Http1Config)}
+     */
+    @Deprecated
+    public final H2RequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+        return setHttp1Config(http1Config);
+    }
+
+    /**
      * Sets message char coding.
      */
     public final H2RequesterBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
index d334cec..8e1a82a 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
@@ -154,12 +154,20 @@ public class H2ServerBootstrap {
     /**
      * Sets HTTP/1.1 protocol parameters
      */
-    public final H2ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+    public final H2ServerBootstrap setHttp1Config(final Http1Config http1Config) {
         this.http1Config = http1Config;
         return this;
     }
 
     /**
+     * @deprecated Use {@link #setHttp1Config(Http1Config)}
+     */
+    @Deprecated
+    public final H2ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+        return setHttp1Config(http1Config);
+    }
+
+    /**
      * Sets message char coding.
      */
     public final H2ServerBootstrap setCharset(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
index 5add2ff..aae33b8 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
@@ -97,12 +97,20 @@ public class AsyncRequesterBootstrap {
     /**
      * Sets HTTP/1.1 protocol parameters
      */
-    public final AsyncRequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+    public final AsyncRequesterBootstrap setHttp1Config(final Http1Config http1Config) {
         this.http1Config = http1Config;
         return this;
     }
 
     /**
+     * @deprecated Use {@link #setHttp1Config(Http1Config)}
+     */
+    @Deprecated
+    public final AsyncRequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+        return setHttp1Config(http1Config);
+    }
+
+    /**
      * Sets message char coding.
      */
     public final AsyncRequesterBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
index e211c44..f9189a9 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
@@ -119,12 +119,20 @@ public class AsyncServerBootstrap {
     /**
      * Sets HTTP/1.1 protocol parameters.
      */
-    public final AsyncServerBootstrap sethttp1Config(final Http1Config http1Config) {
+    public final AsyncServerBootstrap setHttp1Config(final Http1Config http1Config) {
         this.http1Config = http1Config;
         return this;
     }
 
     /**
+     * @deprecated Use {@link #setHttp1Config(Http1Config)}
+     */
+    @Deprecated
+    public final AsyncServerBootstrap sethttp1Config(final Http1Config http1Config) {
+        return setHttp1Config(http1Config);
+    }
+
+    /**
      * Sets connection configuration.
      */
     public final AsyncServerBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
index 8c71781..2966284 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
@@ -143,12 +143,20 @@ public class ServerBootstrap {
     /**
      * Sets connection configuration.
      */
-    public final ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+    public final ServerBootstrap setHttp1Config(final Http1Config http1Config) {
         this.http1Config = http1Config;
         return this;
     }
 
     /**
+     * @deprecated Use {@link #setHttp1Config(Http1Config)}
+     */
+    @Deprecated
+    public final ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+        return setHttp1Config(http1Config);
+    }
+
+    /**
      * Sets connection configuration.
      */
     public final ServerBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {