clesaec commented on PR #2053:
URL: https://github.com/apache/avro/pull/2053#issuecomment-1450339603

   Store in **static** to be accessible from anywhere without modifying code.
   In **thread local** to allow several thread to work with different name 
validator (may be InheritableThreadLocal would be even better ?).
   For **volatile**, as an instance of name validator has no state, there are 
no reason to declare it volatile.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to