mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-13 23:33:37 +01:00
checkstyle correction
Former-commit-id: 6ce90b5c6d192835568995cd33d56330cea53cfb
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user