Hi normen,
You have introduced a bug while changing
[java]if (spat instanceof Node) {
removeAll((Node) spat);
}[/java]
to just
[java]
removeAll((Node) spat);[/java]
it should have been same as in addAll
ie
[java]
removeAll(spat);[/java]
the blind cast to Node causes class cast exception if not a Node…
Regards,
Pit