As far as I can tell, FromAnnotationsRuleSet is currently the only
mutable class in the annotations packages, and that mutability is only
because of the setNameSpaceURI() method.

Would it be possible to make the URI a constructor parameter instead?

If not, perhaps consider whether to make the String field volatile.
This would make all the classes thread-safe.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to