Ok, I don't think my point got true properly. Am I the only one thinking the object should use .equals()?
Andrea On Sat, Mar 5, 2011 at 12:24 PM, Jody Garnett <[email protected]> wrote: > 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
