Sonar fixes and added convenience method trigger() in the GeneralValidator