Support FeatureType in FeatureTypes.isDescendedFrom
---------------------------------------------------

                 Key: GEOT-2270
                 URL: http://jira.codehaus.org/browse/GEOT-2270
             Project: GeoTools
          Issue Type: Improvement
          Components: core main
    Affects Versions: 2.6-M0
            Reporter: Ben Caradoc-Davies
            Assignee: Jody Garnett
         Attachments: FeatureTypes.patch

The attached patch widens FeatureTypes.isDescendedFrom to support FeatureType. 
Argument type is widened and implementation is the same, so backwards 
compatibility is assured.

The patch also fixes generic type checking in these methods, and reformats.

Also fixes an obvious logic bug (duplicate add) in getAncestors, found while 
fixing generics.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to