Author: vrubezhny
Date: 2007-10-10 08:58:20 -0400 (Wed, 10 Oct 2007)
New Revision: 4092
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1061 "Content Assist" does not complete
normally on #{var.pr|[]}
Issue is fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2007-10-10
12:43:28 UTC (rev 4091)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2007-10-10
12:58:20 UTC (rev 4092)
@@ -254,7 +254,7 @@
if (result == null || result.size() == 0)
return NO_PROPOSALS;
- ICompletionProposal[] resultArray = (ICompletionProposal[]) result.toArray(new
ICompletionProposal[uniqueSuggestions.size()]);
+ ICompletionProposal[] resultArray = (ICompletionProposal[]) result.toArray(new
ICompletionProposal[result.size()]);
Arrays.sort(resultArray, new Comparator<ICompletionProposal>() {
public int compare(ICompletionProposal arg0,