corrected the removal of an identifier so that iterator.remove was correctly used

Former-commit-id: 252507772242cc7ff42ef9f310cfca3bec7cb075
This commit is contained in:
Jeremy Long
2014-09-13 05:41:26 -04:00
parent c76275275f
commit 62065c9d28

View File

@@ -114,7 +114,8 @@ public class FalsePositiveAnalyzer extends AbstractAnalyzer {
&& i.getValue() != null
&& i.getValue().startsWith("cpe:/a:springsource:")
&& !i.getValue().toLowerCase().contains(mustContain)) {
dependency.getIdentifiers().remove(i);
itr.remove();
//dependency.getIdentifiers().remove(i);
}
}