checkstyle fixes

Former-commit-id: a4197ab5fc0e6f0a927869a30cd5e302aed64a33
This commit is contained in:
Jeremy Long
2013-03-16 16:53:41 -04:00
parent 05e480a3b7
commit bba3e85d0e
5 changed files with 55 additions and 38 deletions

View File

@@ -116,7 +116,7 @@ public class CPEAnalyzerTest extends BaseIndexTestCase {
instance.determineCPE(spring);
instance.determineCPE(spring3);
instance.close();
Assert.assertTrue("Incorrect match size - struts", depends.getIdentifiers().size() == 1);
Assert.assertTrue("Incorrect match size - struts", depends.getIdentifiers().size() >= 1);
Assert.assertTrue("Incorrect match - struts", depends.getIdentifiers().get(0).getValue().equals(expResult));
//the following two only work if the HintAnalyzer is used.
//Assert.assertTrue("Incorrect match size - spring", spring.getIdentifiers().size() == 1);