Andrea Aime wrote:
> Hi,
> trying to add two new filter functions I noticed there
> are two SPI files containing lists of functions:
>
> org.geotools.filter.FunctionExpression
> org.opengis.filter.expression.Function
>
> Now, unit testing I discovered
> CommonFactoryFinder.getFilterFactory(null)
> hits only the second... is the first of any use anymore?
>   
No it is not; it was there during the transition to filters - please remove.

There was some danger that it was used to get a list of function names; 
but I think the code is looking for 
org.opengis.filter.expression.Function now (and just doing an unsafe 
cast to FunctionExpression).  The FunctionFinder needs to spit out a 
FilterCapabilites document; another rainy day project.

Cheers,
Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to