[Schmitzm-commits] r432 - branches/1.0-gt2-2.6/src/schmitzm/jfree/feature/style
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sun Oct 4 18:56:25 CEST 2009
Author: alfonx
Date: 2009-10-04 18:56:22 +0200 (Sun, 04 Oct 2009)
New Revision: 432
Modified:
branches/1.0-gt2-2.6/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
Log:
* Added <Generics>
Modified: branches/1.0-gt2-2.6/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/jfree/feature/style/FeatureChartStyle.java 2009-10-04 16:55:52 UTC (rev 431)
+++ branches/1.0-gt2-2.6/src/schmitzm/jfree/feature/style/FeatureChartStyle.java 2009-10-04 16:56:22 UTC (rev 432)
@@ -37,6 +37,8 @@
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.general.Dataset;
import org.jfree.data.xy.XYDataset;
+import org.opengis.feature.simple.SimpleFeature;
+import org.opengis.feature.simple.SimpleFeatureType;
import schmitzm.jfree.chart.style.AbstractChartStyle;
import schmitzm.jfree.chart.style.ChartStyle;
@@ -85,7 +87,7 @@
* to the {@link FeatureCollection} (e.g. the {@link FeatureCollection}
* does not provide the required attributes)
*/
- public JFreeChart applyToFeatureCollection(FeatureCollection fc);
+ public JFreeChart applyToFeatureCollection(FeatureCollection<SimpleFeatureType, SimpleFeature> fc);
/**
* Sets whether the features are sorted according to the
@@ -337,7 +339,7 @@
* because the dummy can not provide this functionality.
*/
@Override
- public JFreeChart applyToFeatureCollection(FeatureCollection fc) {
+ public JFreeChart applyToFeatureCollection(FeatureCollection<SimpleFeatureType, SimpleFeature> fc) {
throw new UnsupportedOperationException("FeatureChartStyle.Dummy does not implement applyToFeatureCollection(..)");
}
More information about the Schmitzm-commits
mailing list