[EMAIL PROTECTED] wrote: > Sorry for the confusion. > I checked again and LineString *refuses* to construct > w/out a CoordinateSequence pointer. > If arg is NULL it creates an EMPTY CoordinateSequence. > So there's no problem in the missing checks.
OK. > About general plan. I'm adding assertion checking > for Out-Of-Bounds condition in the random > access operators. The idea is to abort on developers > errors and throw exceptions on malformed input or > when we can do something about it (like TopologyException > case). Good plan :-) > Note that I'm not proceeding with full code scan, but > adding assertions whenever I review a single file for > some other reason. OK. Cheers -- Mateusz Łoskot http://mateusz.loskot.net _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel