[Schmitzm-commits] r1919 - trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/feature

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 28 12:22:08 CEST 2012


Author: keeb
Date: 2012-03-28 12:22:08 +0200 (Wed, 28 Mar 2012)
New Revision: 1919

Modified:
   trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/feature/FeatureUtil.java
Log:
changing use of deprecated method createFeature() to new method createFeatureInstance()

Modified: trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/feature/FeatureUtil.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/feature/FeatureUtil.java	2012-03-28 10:19:52 UTC (rev 1918)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/feature/FeatureUtil.java	2012-03-28 10:22:08 UTC (rev 1919)
@@ -1240,7 +1240,7 @@
 							// Erweitertes SimpleFeature erzeugen und
 							// FeatureCollection
 							// fuellen
-							SimpleFeature feature = createFeature(resultType,
+							SimpleFeature feature = createFeatureInstance(resultType, null, null,
 									fValues);
 							resultFc.add(feature);
 						}



More information about the Schmitzm-commits mailing list