Located the problem; all the style objects have badly implemented equals
methods - checking things like this:
Utilities.equals(this.symbols, other.symbols)
Where the following is causing trouble:
- symbols is Symbol[]
- GraphicImpl.getSymbol() will return a default of new Symbol[]{ square
} if symbol is null
(so we should check getSymbol() rather than the symbol field directly
The previous code called clone; and when it failed it would siliently
return the origional which is why a lot of this code worked before. I am
going to end up adding a bunch of utility code to our friendly Utilities
class in order to fix this stuff.
Jody
> Jody Garnett ha scritto:
>> Two fixes have come in:
>> - an arcsde dummy fix - thanks gabriel
>> - Utilties.equals( float[], float[] ) so that Stroke equals method works
>>
>> Now what does the build box say?
>
> Still broken, in shapefile renderer:
> http://traffic.openplans.org:8080/continuum/buildResult.action?buildId=43&projectId=6&projectGroupId=6
>
>
>
> Cheers
> Andrea
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel