diff --git a/src/site/markdown/tutorials/direct-location-with-DEM.md b/src/site/markdown/tutorials/direct-location-with-DEM.md index 904aa12622a77e430006ac2f30f17db9cbfd2303..b01453f868d014e2cfa39e74685a1bc4579b04ba 100644 --- a/src/site/markdown/tutorials/direct-location-with-DEM.md +++ b/src/site/markdown/tutorials/direct-location-with-DEM.md @@ -124,7 +124,7 @@ In a similar way as in the first tutorial [direct location](./direct-location.ht int lineStep = (maxLine - minLine) / nbLineStep; int pxStep = (maxPx - minPx) / nbPxStep; - ArrayList<GeodeticPoint> pointList = new ArrayList<GeodeticPoint>(); + List<GeodeticPoint> pointList = new ArrayList<GeodeticPoint>(); for (int i = 0; i < nbLineStep; i++) { int currentLine = minLine + i * lineStep; for (int j = 0; j < nbPxStep; j++) { @@ -143,7 +143,7 @@ In a similar way as in the first tutorial [direct location](./direct-location.ht } // Store the GeodeticPoint to write longitude and altitude later pointList.add(point); - } + } for (GeodeticPoint point : pointList) { if (point != null) {