Author: vrubezhny
Date: 2007-09-27 13:11:50 -0400 (Thu, 27 Sep 2007)
New Revision: 3870
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-949 seam validator reports
Seam EL Content Assist processor is fixed
Seam EL validator 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-09-27
17:11:39 UTC (rev 3869)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2007-09-27
17:11:50 UTC (rev 3870)
@@ -259,7 +259,9 @@
public int compare(ICompletionProposal arg0,
ICompletionProposal arg1) {
- return arg1.getDisplayString().compareTo(arg1.getDisplayString());
+ String str0 = (arg0 == null ? "" : arg0.getDisplayString());
+ String str1 = (arg1 == null ? "" : arg1.getDisplayString());
+ return str0.compareTo(str1);
}});
return resultArray;
} catch (BadLocationException x) {