andymc12 commented on issue #373: JAX-RS 2.1 TCK issues
URL: https://github.com/apache/cxf/pull/373#issuecomment-362296701
 
 
   @sberyozkin I agree with your update.  I'm not sure whether the clone is 
required for somewhere else though.  I figured the safest thing was a new 
method to clear the headers, so as to not disrupt other code flows.  
   
   I did make a couple more changes though - the spec also says that the user 
can pass in a null headers map, which means that we need to just clear the 
headers - so I added a null check.  I also changed the `removeAllHeaders` 
method to clear the headers map rather than creating a new one.
   
   Thanks for the review!

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to