formatting, white spaces
pmd: fix #958 Intermittent NullPointerException while loading XPath node attributes
 * synchronizing the method cache
 * adding additional null check
pmd: fix #945 PMD generates RuleSets it cannot read.
pmd: fix #943 PreserveStackTrace false positive if a StringBuffer exists