ContourProcess incorrectly prefers intervals arg to levels arg
--------------------------------------------------------------
Key: GEOT-3862
URL: https://jira.codehaus.org/browse/GEOT-3862
Project: GeoTools
Issue Type: Bug
Components: process
Affects Versions: 8.0-M1
Reporter: Michael Bedward
Assignee: Michael Bedward
Fix For: 8.0-M2
The DescribeParameter annotations for ContourProcess execute state that the
interval arg is ignored if the levels arg is supplied. This is the same
behaviour as in the underlying jaitools Contour operation. However, the execute
method actually gives the interval arg preference:
{code}
if (interval != null) {
pb.setParameter("interval", interval);
} else {
final ArrayList<Double> elements = new
ArrayList<Double>(levels.length);
for (double level : levels)
elements.add(level);
pb.setParameter("levels", elements);
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel