Avoid extra-read operation when read coverage is null. 
(RenderedImageMapOutputFormat)
-------------------------------------------------------------------------------------

                 Key: GEOS-4551
                 URL: http://jira.codehaus.org/browse/GEOS-4551
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Daniele Romagnoli
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 2.1.1


The method org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage
has at line 1284 an extra-read operation.

Basically, it does a read operation. Then, if the returned coverage is null, it 
does another read operation with a reduced set of parameter.
I think this could be slightly improved by avoiding that when this isn't really 
needed.




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

        

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to