pmd: verify #998 False positive ClassCastExceptionWithToArray with generics
pmd: verify #959 StringToString False Positive
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