coheigea commented on a change in pull request #475: Make 
org..client.cache.Entry serializable (cache by value), handle 30…
URL: https://github.com/apache/cxf/pull/475#discussion_r235050008
 
 

 ##########
 File path: 
rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/cache/Entry.java
 ##########
 @@ -64,12 +66,19 @@ public void setData(final Serializable data) {
         this.data = data;
     }
 
-    public MultivaluedMap<String, String> getHeaders() {
+    public Map<String, List<String>> getHeaders() {
         return headers;
     }
 
+    private void initHeaders(final  MultivaluedMap<String, String> mHeaders) {
+        this.headers = new HashMap<>();
+        mHeaders.keySet().forEach(key -> {
 
 Review comment:
   This can be replaced with: headers.putAll(mHeaders);

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to