Unused imports should be removed as they might introduce extra dependencies.
Improve code quality by removing compiler warnings
AFAIK, this removes all unnecessary imports that are not in generated files.
I actually wonder whether to apply the patch provided against classes stored in org.exolab.castor.maping.xml and org.exolab.castor.maping.xml.types, as these classes are generated.
I was under the impression that Eclipse leaves out the changes that i remove from the synchronize view - obviously not.
I'll see if I can submit a more constrained patch.
It turns out that Eclipse 3.2 has a filter option for creating patches. Attached a more constrained patch.
Will commit as is with only release notes added.