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: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to