DefaultAttributeType.validate shows on rendering profiles ---------------------------------------------------------
Key: GEOT-1102
URL: http://jira.codehaus.org/browse/GEOT-1102
Project: GeoTools
Issue Type: Improvement
Components: core feature
Affects Versions: 2.3.0, 2.2.2
Reporter: Andrea Aime
Fix For: 2.2.3, 2.3.1, 2.4.M0
DefaultAttributeType.validate is visible on data rendring profiles because
Class.isAssignameFrom is not as quick
as one could think. Adding a class equality comparison before it makes it
disappear from profiles:
...
else if (type != attribute.getClass() &&
!type.isAssignableFrom(attribute.getClass())) {
...
Small thing, but one that should not be there and has a quick fix.
rg.geotools.data.FIDFeatureReader.next()
953 3 %
org.geotools.data.FIDFeatureReader.readFeature(AttributeReader)
859 3 %
org.geotools.feature.DefaultFeatureType.create(Object[], String)
703 3 %
org.geotools.feature.DefaultFeature.<init>(DefaultFeatureType, Object[], String)
703 3 %
org.geotools.feature.DefaultFeature.setAttributes(Object[])
703 3 %
org.geotools.feature.DefaultFeature.setAttribute(int, Object)
703 3 %
org.geotools.feature.DefaultAttributeType.validate(Object)
703 3 %
java.lang.Class.isAssignableFrom(Class)
703
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
