[Schmitzm-commits] r1009 - branches/2.2.x/src/skrueger/geotools
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Sep 16 23:58:52 CEST 2010
Author: mojays
Date: 2010-09-16 23:58:52 +0200 (Thu, 16 Sep 2010)
New Revision: 1009
Modified:
branches/2.2.x/src/skrueger/geotools/StyledFeatureCollection.java
Log:
little typing change for AttributeMetadataMap
Modified: branches/2.2.x/src/skrueger/geotools/StyledFeatureCollection.java
===================================================================
--- branches/2.2.x/src/skrueger/geotools/StyledFeatureCollection.java 2010-09-16 21:56:35 UTC (rev 1008)
+++ branches/2.2.x/src/skrueger/geotools/StyledFeatureCollection.java 2010-09-16 21:58:52 UTC (rev 1009)
@@ -106,7 +106,7 @@
public StyledFeatureCollection(
FeatureCollection<SimpleFeatureType, SimpleFeature> fc, String id,
Translation title, Translation desc, Translation keywords,
- Style style, AttributeMetadataMap<AttributeMetadataInterface> attrMetaData, ImageIcon icon) {
+ Style style, AttributeMetadataMap<? extends AttributeMetadataInterface> attrMetaData, ImageIcon icon) {
super(fc, fc.getBounds(), fc.getSchema().getGeometryDescriptor()
.getCoordinateReferenceSystem(), id, title, desc, keywords,
style, icon);
@@ -302,7 +302,7 @@
* @param attrMetaData
* map of attribute meta data
*/
- public void setAttributeMetaData(AttributeMetadataMap<AttributeMetadataInterface> attrMetaData) {
+ public void setAttributeMetaData(AttributeMetadataMap<? extends AttributeMetadataInterface> attrMetaData) {
this.attrMetaData = (attrMetaData != null) ? attrMetaData
: createDefaultAttributeMetaDataMap(geoObject);
}
More information about the Schmitzm-commits
mailing list