hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [34/42] httpcomponents-core git commit: Add toString() for debugging and logging.
Date Thu, 11 May 2017 18:18:09 GMT
Add toString() for debugging and logging.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794648
13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/4.4.x
Commit: 7d8afaee30570169a4edaae4a3aec0a5c08b7808
Parents: 3c4ce3b
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Tue May 9 22:15:19 2017 +0000
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Thu May 11 20:16:44 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/http/params/BasicHttpParams.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/7d8afaee/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java
----------------------------------------------------------------------
diff --git a/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java b/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java
index 115171e..18655ad 100644
--- a/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java
+++ b/httpcore/src/main/java/org/apache/http/params/BasicHttpParams.java
@@ -192,4 +192,9 @@ public class BasicHttpParams extends AbstractHttpParams implements Serializable,
     public Set<String> getNames() {
         return new HashSet<String>(this.parameters.keySet());
     }
+
+    @Override
+    public String toString() {
+        return "[parameters=" + parameters + "]";
+    }
 }


Mime
View raw message