Jody Garnett a écrit :
> Not sure I understand; the hints provided to the constructor are not
> combined with the global hints in any way? We rely on the
> programmer to do that prior to calling the constructor?
The would be combined for ReferencingFactoryFinder.DEFAULT as a special case.
We could also provide a ReferencingFactoryFinder(Hints, boolean) constructor if
useful, where the boolean said if we should merge with global hints or not.
> Note my suggestion was in two parts; make the constructor public; and
> remove the parameter from the create methods.
Ah, I missed the "remove the Hints parameter from the create method"...
I didn't though about that... I guess we just need to do a quick check on how we
use the FactoryFinder.getFooFactory(...) in GeoTools code base and see if it
would be convenient (would we have to invoke "new
FactoryFinder(hints).createFooFactory()" most of the time, or would we share a
few FactoryFinder existing instances most of the time?)
Martin
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel