for (CPEDictionary dictionary : dictionaries) {
handleCheckResults(results, dictionary);
}
if (platformSpecification != null) {
CPEEvaluator evaluator = new CPEEvaluatorImpl(foundCPENames,
results);
for (Platform<?> platform : platformSpecification.getPlatforms()) {
String platformId = platform.getId();
CPEEvaluator.Result result;
try {
result = evaluator.evaluate(platform);
} catch (CPELanguageEvaluationException e) {
log.error("unable to evaluate platform: " + platformId, e);
result = CPEEvaluator.Result.ERROR;
}
cpeLanguageToStatusMap.put(platformId, result);