SLD.filters(Rule[]) utility method returns an array where all elements are the
filter of the first rule
-------------------------------------------------------------------------------------------------------
Key: GEOT-1427
URL: http://jira.codehaus.org/browse/GEOT-1427
Project: GeoTools
Issue Type: Bug
Components: core styling
Affects Versions: 2.3.4
Environment: all environments
Reporter: Erik Lovlie
Fix For: 2.3.4
[org.geotools.styling.SLD]
public static Filter[] filters(Rule[] rule) {
Filter[] filter = new Filter[rule.length];
for (int i = 0; i < rule.length; i++) {
filter[i] = rule[0].getFilter();
}
return filter;
}
---------------------
As can be seen from the code above, all elements of the returned array will be
the same filter.
--
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