Author: vrubezhny
Date: 2007-11-02 10:18:35 -0400 (Fri, 02 Nov 2007)
New Revision: 4660
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-1203 EL autocompletion prompts static members
The static methods are excluded from valid proposals
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-11-02
13:57:32 UTC (rev 4659)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2007-11-02
14:18:35 UTC (rev 4660)
@@ -275,7 +275,7 @@
List<ICompletionProposal> result= new ArrayList<ICompletionProposal>();
for (String string : uniqueSuggestions) {
- if (string.length() > 0) {
+ if (string.length() >= 0) {
string = proposalPrefix + string + proposalSufix;
result.add(new Proposal(string, prefix, offset, offset + string.length() -
proposalSufix.length()));
}