Skip to content

Commit 00c0ac1

Browse files
committed
Fix typos
resolves #21
1 parent 8a271f4 commit 00c0ac1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/NetTopologySuite.IO.Oracle/OracleGeometryReader.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private Geometry Create(GeometryFactory factory, int gType, SdoPoint point, doub
100100

101101
if (dim < 2)
102102
{
103-
throw new ArgumentException("Dimension D:" + dim + " is not valid for JTS. " +
103+
throw new ArgumentException("Dimension D:" + dim + " is not valid for NTS. " +
104104
"Either specify a dimension or use Oracle Locator Version 9i or later");
105105
}
106106

@@ -293,12 +293,12 @@ private GeometryCollection CreateCollection(GeometryFactory factory, int dim, in
293293

294294
case SdoEType.PolygonInterior:
295295
throw new ArgumentException(
296-
"ETYPE 2003 (Polygon Interior) no expected in a GeometryCollection" +
296+
"ETYPE 2003 (Polygon Interior) not expected in a GeometryCollection" +
297297
"(2003 is used to represent polygon holes, in a 1003 polygon exterior)");
298298

299299
default:
300300
throw new ArgumentException("ETYPE " + etype +
301-
" not representable as a JTS Geometry." +
301+
" not representable as a NTS Geometry." +
302302
"(Custom and Compound Straight and Curved Geometries not supported)");
303303
}
304304
if (cont)
@@ -558,7 +558,7 @@ private LineString CreateLine(GeometryFactory factory, int dim, int lrs, double[
558558
{
559559
throw new ArgumentException("ELEM_INFO INTERPRETAION " +
560560
interpretation + " not supported" +
561-
"by JTS LineString. Straight edges" +
561+
"by NTS LineString. Straight edges" +
562562
"( ELEM_INFO INTERPRETAION 1) is supported");
563563
}
564564

src/NetTopologySuite.IO.Oracle/OracleGeometryWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ private static SdoGTemplate Template(Geometry geom)
382382
return SdoGTemplate.Collection;
383383

384384
default:
385-
throw new ArgumentException("Cannot encode JTS "
385+
throw new ArgumentException("Cannot encode NTS "
386386
+ geom.GeometryType + " as SDO_GTEMPLATE "
387387
+ "(Limitied to Point, Line, Polygon, GeometryCollection, MultiPoint,"
388388
+ " MultiLineString and MultiPolygon)");

0 commit comments

Comments
 (0)