checkstyle correction

Former-commit-id: 6ce90b5c6d192835568995cd33d56330cea53cfb
This commit is contained in:
Jeremy Long
2015-03-05 06:15:43 -05:00
parent ae9daf7f33
commit 70859eb719

View File

@@ -100,8 +100,8 @@ public class HintAnalyzer extends AbstractAnalyzer implements Analyzer {
Confidence.LOW);
//springsource/vware problem
Set<Evidence> product = dependency.getProductEvidence().getEvidence();
Set<Evidence> vendor = dependency.getVendorEvidence().getEvidence();
final Set<Evidence> product = dependency.getProductEvidence().getEvidence();
final Set<Evidence> vendor = dependency.getVendorEvidence().getEvidence();
if (product.contains(springTest1) || product.contains(springTest2) || product.contains(springTest3)
|| (dependency.getFileName().contains("spring") && (product.contains(springTest5) || vendor.contains(springTest5)))) {
@@ -110,8 +110,7 @@ public class HintAnalyzer extends AbstractAnalyzer implements Analyzer {
dependency.getVendorEvidence().addEvidence("hint analyzer", "vendor", "vmware", Confidence.HIGH);
}
product = dependency.getVendorEvidence().getEvidence();
if (product.contains(springTest4)) {
if (vendor.contains(springTest4)) {
dependency.getProductEvidence().addEvidence("hint analyzer", "product", "springsource_spring_framework", Confidence.HIGH);
dependency.getVendorEvidence().addEvidence("hint analyzer", "vendor", "vmware", Confidence.HIGH);
}