brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [1/4] brooklyn-server git commit: Fixing HttpResponse headers value
Date Thu, 17 Nov 2016 16:43:35 GMT
Repository: brooklyn-server
Updated Branches:
  refs/heads/master bd62f7059 -> a569463dd


Fixing HttpResponse headers value

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/5649c2d3
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/5649c2d3
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/5649c2d3

Branch: refs/heads/master
Commit: 5649c2d3cb92210e9e566413ddfa3cafbf1d7790
Parents: 37986c7
Author: Yavor Yanchev <yavor@yanchev.com>
Authored: Wed Nov 16 11:36:36 2016 +0200
Committer: Yavor Yanchev <yavor@yanchev.com>
Committed: Wed Nov 16 11:36:36 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/brooklyn/util/http/executor/HttpResponse.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/5649c2d3/utils/common/src/main/java/org/apache/brooklyn/util/http/executor/HttpResponse.java
----------------------------------------------------------------------
diff --git a/utils/common/src/main/java/org/apache/brooklyn/util/http/executor/HttpResponse.java
b/utils/common/src/main/java/org/apache/brooklyn/util/http/executor/HttpResponse.java
index c3baaf6..67110b4 100644
--- a/utils/common/src/main/java/org/apache/brooklyn/util/http/executor/HttpResponse.java
+++ b/utils/common/src/main/java/org/apache/brooklyn/util/http/executor/HttpResponse.java
@@ -60,7 +60,7 @@ public interface HttpResponse extends Closeable {
         }
 
         public Builder headers(Multimap<String, String> val) {
-            headers.putAll(headers);
+            headers.putAll(val);
             return this;
         }
 


Mime
View raw message