Vitali Diatchkov ha scritto:
> 
> Hello!
> 
> I have faced with a problem of concurrent modification of Filter that leads
> to exception throwing:

...

> This use case is coming from UDIG. 
> 
> Shouldn't all the Filter objects be immutable? (Just a quick mind). Or what
> does the Filter design say about Filter modifications and multi-threading
> issues?

They should be immutable IMHO... but the even the filter interfaces do 
allow for modification after the filter is built, and nothing is stated
in the javadoc.
In a perfect world filters should take their arguments during
construction and then be immbutable. Maybe in gt2 2.4 things are better,
how's the situation with the new Filter interfaces?

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to