cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] andymc12 commented on issue #373: JAX-RS 2.1 TCK issues
Date Thu, 01 Jan 1970 00:00:00 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message