>
> I've cc'ed Niels, the author of the change that's resulting in the 
> exception you're seeing.
> Niels, wondering if the following test:
>
> if (! (collection instanceof SimpleFeatureCollection)) {
>                     //put wrapper around it with layer name
>                     Name name = new NameImpl 
> (layer.getFeature().getNamespace().getName(), 
> layer.getFeature().getName());
>                     collection = new FeatureCollectionDecorator(name, 
> collection);
>                 }
>
> would not be better expressed as:
>
> collection.getSchema() instanceof SimpleFeatureType
>

Yeah that might be a good idea!

Cheers
Niels

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to