This content has been marked as final.
Show 4 replies
-
1. Re: Top level groups
aloubyansky Oct 8, 2006 1:25 PM (in response to adrian.brock)This was missing. Thanks, Adrian.
-
2. Re: Top level groups
aloubyansky Oct 8, 2006 1:40 PM (in response to adrian.brock)BTW, this introduced dependency on the Java 5 with Collections.emptySet(). Why not Collections.EMPTY_SET instead?
-
3. Re: Top level groups
adrian.brock Oct 10, 2006 8:20 AM (in response to adrian.brock)Sorry, yes, it should EMPTY_SET unless you are going to use
jboss retro and convert JBossXB to use java 5. -
4. Re: Top level groups
adrian.brock Oct 10, 2006 8:25 AM (in response to adrian.brock)I also broke the particles for top level groups where it was processing them
multiple times. Once at the top level then again when the group
got referenced.
I've fixed it by only processing group particles when the group
doesn't have any, but there is probably a better way to do this?
e.g.+if (groupBinding.getParticles().isEmpty()) +{ ctx.pushModelGroup(groupBinding); bindModelGroupParticles(ctx, group); ctx.popModelGroup(); +}