Hi, as I'm working with the aggregating feature store and making it cascade WFS 1.0 server distributed around I've found an issue with collection size.
ContentFeatureColleciton.size() calls back to ContentFeatureSource.size(), however there is a contract mismatch there. The latter is allowed to return -1, whilst the javadoc of the former does not say anything but refers to the java.util.Collection behavior, so I guess it should try to return the actual size. Soo... I guess the ContentFeatureCollection.size() should be amended to do a full feature scan (possibly selecting just one small attribute) in order to compute the size when the ContentFeatureSource returns -1? Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
