Hi Martin;

I have found a number of hacks where people are trying to confirm that 
CommonFactoryFinder.getFilterFactory( Hints ) is actually returning an 
instance of FilterFactory2 (since FilterFactory2 is what is needed when 
working with JTS Geometry etc...).

Sometimes people process all of the getFilterFactories and select the 
first matching one .... usually people are just casting.

Would it be okay (since CommonFactoryFinder is a straight GeoTools 
class); to specify that we are always going to return a FilterFactory2? 
We always need it after all ...

Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to