Author: vrubezhny
Date: 2010-10-18 10:52:38 -0400 (Mon, 18 Oct 2010)
New Revision: 25900
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CASuggestsNotOnlyELProposalsJBIDE2437Test.java
Log:
JBIDE-7195
org.jboss.tools.jsf.ui.test fails
CA Proposals collecting is fixed
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CASuggestsNotOnlyELProposalsJBIDE2437Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CASuggestsNotOnlyELProposalsJBIDE2437Test.java 2010-10-18
14:45:39 UTC (rev 25899)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/CASuggestsNotOnlyELProposalsJBIDE2437Test.java 2010-10-18
14:52:38 UTC (rev 25900)
@@ -50,7 +50,7 @@
boolean bELProposalsFound = false;
boolean bTemplatePathProposalsFound = false;
- for (int k = 0;
+ for (int k = 0; k < res.size() &&
(!bELProposalsFound || !bTemplatePathProposalsFound); k++) {
if (res.get(k) instanceof AutoContentAssistantProposal) {
AutoContentAssistantProposal proposal = (AutoContentAssistantProposal)res.get(k);
Show replies by date