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 2018/11/08 09:34:37 UTC

httpcomponents-core git commit: Javadoc. [Forced Update!]

Repository: httpcomponents-core
Updated Branches:
  refs/heads/master ff85fb5ee -> 8c0f3f044 (forced update)


Javadoc.


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/8c0f3f04
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/8c0f3f04
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/8c0f3f04

Branch: refs/heads/master
Commit: 8c0f3f0446395c35bd08fa7fb992054f198c4772
Parents: b810cd7
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Nov 7 19:11:21 2018 -0700
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Thu Nov 8 10:32:24 2018 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/hc/core5/io/ModalCloseable.java      | 2 ++
 httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java   | 3 +++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/8c0f3f04/httpcore5/src/main/java/org/apache/hc/core5/io/ModalCloseable.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/io/ModalCloseable.java b/httpcore5/src/main/java/org/apache/hc/core5/io/ModalCloseable.java
index e0a73df..976e0d0 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/io/ModalCloseable.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/io/ModalCloseable.java
@@ -40,6 +40,8 @@ public interface ModalCloseable extends Closeable {
      * Closes this process or endpoint and releases any system resources associated
      * with it. If the endpoint or the process is already closed then invoking this
      * method has no effect.
+     *
+     * @param closeMode How to close the receiver.
      */
     void close(CloseMode closeMode);
 

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/8c0f3f04/httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java b/httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java
index f6cc1c0..a5cada4 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/net/URIBuilder.java
@@ -50,6 +50,9 @@ public class URIBuilder {
     /**
      * Creates a new builder for the host {@link InetAddress#getLocalHost()}.
      *
+     * @return a new builder.
+     * @throws UnknownHostException if the local host name could not be resolved into an address.
+     *
      * @since 4.6
      */
     public static URIBuilder localhost() throws UnknownHostException {