Hi Sebb, your suggestions are like water in the middle of the Sahara, thanks a *lot*, this is a very god catch! Very very appreciated!!! I'm going to make it volatile, thanks again :) Simo
http://people.apache.org/~simonetripodi/ On Wed, Jan 27, 2010 at 6:24 PM, sebb <seb...@gmail.com> wrote: > 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 > >