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