pmd: fix #1135 CheckResultSet ignores results set declared outside of try/catch