spotbugs fixes and cleanups

git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1881669 13f79535-47bb-0310-9956-ffa450edef68
10 files changed