Github user bcluap commented on the issue:

    https://github.com/apache/cxf/pull/310
  
    Thanks,
    
    I added createExactTemplate due to direct calls to new URITemplate() from 
UriBuilderImpl which skipped the checks for null and a leading "/". I was not 
sure of the impact of forcing a leading "/" in the calls coming from 
UriBuilderImpl hence the added createExactTemplate which creates the template 
verbatim. If you think its ok to make it one function with the check to add the 
leading "/" then I will make that change.
    
    In terms of weak references that's probably a good idea. I'll use 
Collections.synchronizedMap(new WeakHashMap...)
    
    Let me know your thoughts and I'll amend accordingly


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to