Needless geometry check in SLDStyleFactory
------------------------------------------

                 Key: GEOT-1503
                 URL: http://jira.codehaus.org/browse/GEOT-1503
             Project: GeoTools
          Issue Type: Improvement
          Components: core render
    Affects Versions: 2.4-RC0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.4-RC1


The SLDStyleFactory returns null when trying to build a Style2D out of a text 
symbolizer if the feature does not have the required geometry attribute, this 
eventually leads to an NPE.
Given the legend building code uses a feature with a fixed geometry as the 
sample used to build the legend itself, it's better to remove this check.


-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to