for (final String loc : rulesetStringLocations) {
RuleSetReferenceId ruleSetReferenceId = new RuleSetReferenceId(loc);
final URL resolvedLocation = resourceResolver.resolveLocation(ruleSetReferenceId.getRuleSetFileName());
if(resolvedLocation == null) {
throw new PMDException(String.format("Failed to resolve RuleSet from location [%s],SKIPPING Eclipse PMD configuration", loc));
}
RuleSet ruleSetAtLocations;
try {
RuleSetReferenceId resolvedRuleSetReference = new RuleSetReferenceId(loc) {