added ftp:ftp as a false positive for Java projects

Former-commit-id: 3382b8413c0ba3af6370420e4e9279da66646c4d
This commit is contained in:
Jeremy Long
2013-10-13 14:03:52 -04:00
parent e106ab5505
commit 6273ea758b

View File

@@ -279,6 +279,7 @@ public class FalsePositiveAnalyzer extends AbstractAnalyzer {
|| i.getValue().startsWith("cpe:/a:file:file")
|| i.getValue().startsWith("cpe:/a:mozilla:mozilla")
|| i.getValue().startsWith("cpe:/a:cvs:cvs")
|| i.getValue().startsWith("cpe:/a:ftp:ftp")
|| i.getValue().startsWith("cpe:/a:ssh:ssh"))
&& dependency.getFileName().toLowerCase().endsWith(".jar")) {
itr.remove();