Javadoc wrong in org.opengis.feature.simple.SimpleFeature
---------------------------------------------------------

                 Key: GEOT-2682
                 URL: http://jira.codehaus.org/browse/GEOT-2682
             Project: GeoTools
          Issue Type: Bug
          Components: doc
    Affects Versions: 2.6-M2
            Reporter: Stefan Alfons Krüger
            Assignee: Rueben Schulz
            Priority: Minor


I cite from the SimpleFeature Javadoc:

    /** ...
     * This method is convenience for:
     * return getDefaultGeometry().getValue();
    ... */
    Object getDefaultGeometry();

    /** ...
     * This method is convenience for:
     * getDefaultGeometry().setValue(geometry);
    ... */
    void setDefaultGeometry(Object geometry);


If should say:
 This method is convenience for: 
 getDefaultGeometryProperty().getValue();

and 
 This method is convenience for: 
 getDefaultGeometryProperty().setValue(geometry);

-- 
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

       

------------------------------------------------------------------------------
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