Hi Michael,

I made a few more quick mods to that class:

* Added getFromName(String) for looking up a constant by string

* Changed get(Class) to getForBinding(Class).

Rationale being a) making naming consistent and b) it is sort of nasty 
to overload method names when the parameters require a parameterized class.

I deprecated get(Class) for now to avoid breaking your code.

-Justin

Michael Bedward wrote:
> Hi Justin
> 
>> Cool, thanks Michael. One minor thing though, i wonder if it makes sense to
>> use the name Geometries to prevent a conflict with the existing feature
>> model classes/interfaces that use the name GeometryType.
> 
> Yes, that's a good idea.
> 
> Michael

-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to