Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e9d912c97fa8 |
children | 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java Thu Jan 18 20:12:01 2018 +0100 @@ -85,7 +85,7 @@ } /** - * Returns the boundary of Envelope <i>env</i> in OpenLayers representation. + * Returns boundary of Envelope <i>env</i> in OpenLayers representation. * * @param env The envelope of a geometry. * @@ -140,7 +140,7 @@ * @param name The name of the FeatureType. * @param srs The SRS (e.g. "EPSG:31466"). * @param geometryType The geometry type's class (e.g. Polygon.class). - * @param attrs Optional. An object with attribute-name/attribute-class pairs + * @param attrs Optional. Object with attribute-name/attribute-class pairs * where index 0 specifies the name as string and index 1 the * ype as class. * @@ -325,7 +325,8 @@ FeatureWriter<SimpleFeatureType, SimpleFeature> writer = newDataStore.getFeatureWriter(typeName, transaction); - SimpleFeatureIterator iterator = (SimpleFeatureIterator) collection.features(); + SimpleFeatureIterator iterator = + (SimpleFeatureIterator)collection.features(); while (iterator.hasNext()){ SimpleFeature feature = iterator.next();