You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2019/04/12 00:28:41 UTC

[httpcomponents-core] branch master updated: Fix Timeout#ofMillis javadoc reference

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d30647c  Fix Timeout#ofMillis javadoc reference
     new d97677d  Merge pull request #119 from rhernandez35/master
d30647c is described below

commit d30647c2681a1fb98750c3c731e9d0a6750b0a7e
Author: Richard Hernandez <ri...@amazon.com>
AuthorDate: Thu Apr 11 17:04:56 2019 -0700

    Fix Timeout#ofMillis javadoc reference
---
 httpcore5/src/main/java/org/apache/hc/core5/util/Timeout.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/httpcore5/src/main/java/org/apache/hc/core5/util/Timeout.java b/httpcore5/src/main/java/org/apache/hc/core5/util/Timeout.java
index b7fa7a3..04a8c7e 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/util/Timeout.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/util/Timeout.java
@@ -107,7 +107,7 @@ public class Timeout extends TimeValue {
      *
      * @param milliseconds the duration in milliseconds and the given {@code timeUnit}.
      * @return a Timeout
-     * @deprecated Use {@link #ofMicroseconds(long)}
+     * @deprecated Use {@link #ofMilliseconds(long)}
      */
     @Deprecated
     public static Timeout ofMillis(final long milliseconds) {