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 2018/09/11 20:24:34 UTC
httpcomponents-core git commit: Fix typo in exception message.
Repository: httpcomponents-core
Updated Branches:
refs/heads/master 33abc77d5 -> 0cb4cea94
Fix typo in exception message.
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/0cb4cea9
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/0cb4cea9
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/0cb4cea9
Branch: refs/heads/master
Commit: 0cb4cea94fec70464cd3f3a86a3b5d1a758c7834
Parents: 33abc77
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue Sep 11 14:24:31 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue Sep 11 14:24:31 2018 -0600
----------------------------------------------------------------------
.../java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/0cb4cea9/httpcore5/src/main/java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java b/httpcore5/src/main/java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java
index eebc34a..84dccbc 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/io/SocketTimeoutExceptionFactory.java
@@ -55,6 +55,6 @@ public final class SocketTimeoutExceptionFactory {
* @return a message for the given timeout.
*/
public static String toMessage(final int timeoutMillis) {
- return String.format("%,d millisecond", timeoutMillis);
+ return String.format("%,d milliseconds", timeoutMillis);
}
}