[jboss-dev-forums] [JBoss XML Binding Development] New message: "Re: Using generics info in CollectionPropertyHandler"
Ales Justin
do-not-reply at jboss.com
Wed Feb 10 12:38:26 EST 2010
JBoss development,
A new message was posted in the thread "Using generics info in CollectionPropertyHandler":
http://community.jboss.org/message/525525#525525
Author : Ales Justin
Profile : http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
> Now that I'm profiling I see the componentType.convertValue(child) is taking quite a lot of time. Looking at the impl http://fisheye.jboss.org/browse/~raw,r=98934/JBossAS/projects/jboss-reflect/trunk/src/main/java/org/jboss/reflect/plugins/ValueConvertor.java it doesn't seem to be useful here.Note, string normalization and property replacement is done by XB anyway. I want to remove it.
> Or what am I missing?
Yeah, it could be that this conversion is not needed.
I didn't look too much into details when I dropped it in there, sorry.
The goal of this change was to check the child type, which was missing before.
Leaving that check and removing the convert should be fine then.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525525#525525
More information about the jboss-dev-forums
mailing list