I think that they are testing two different things?
> * if(bounds.getCoordinateReferenceSystem() != crs )
This should change the CRS while leaving the map roughly centered.
> * if (newBounds == bounds)
>
This should completely change the map display.
> Since there are more than one perhaps there is a purpose which I do not see.
There should be some good test cases in place for that class; as it was quite a
pain to debug.
Jody
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel