Inconsistent behavior in org.geotools.styling.StrokeImpl
--------------------------------------------------------
Key: GEOT-2073
URL: http://jira.codehaus.org/browse/GEOT-2073
Project: GeoTools
Issue Type: Bug
Components: core styling
Affects Versions: 2.5.0
Reporter: Milton Jonathan
Attachments: geotools-tecgraf.2.5.x.styleduplication.patch
There is inconsistent behavior in module org.geotools.styling.StrokeImpl.java
(gt-main.jar), which brings problems when attempting to copy a Style using the
DuplicatingStyleVisitor. The issue is that, when a parameter is undefined
(null), most getter methods return the value given by Stroke.DEFAULT. However,
that was not happening for methods getDashArray and getDashOffset, which
respectively returned an empty array and null. As a result, the resulting XML
representation for the original and copied Styles differ.
--
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel