Handy-URI-Templates icon indicating copy to clipboard operation
Handy-URI-Templates copied to clipboard

Thread Safety

Open taftster opened this issue 6 years ago • 3 comments

Can there be a statement made as to thread safety of this library? Specifically, I'm looking for a statement in the Javadoc of UriTemplate and the homepage of the github repository.

Thanks.

taftster avatar Jan 31 '19 19:01 taftster

Looking at the code of UriTemplate I would categorize it as non-threadsafe, since it is mutable without synchronization. Furthermore, an instance of UriTemplate doesn't seem to be intended for reuse.

leonard84 avatar Feb 05 '19 17:02 leonard84

OK, can a documentation change be made directly by a committer? Alternatively, I am happy to offer a pull request, if that is easiest.

taftster avatar Feb 10 '19 22:02 taftster

@taftster Offer a PR, that is the easiest

damnhandy avatar Mar 21 '19 23:03 damnhandy