summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Trimble2013-04-25 12:16:38 (EDT)
committerIan Trimble2013-04-25 12:16:38 (EDT)
commita751512fbbbba4ed153bb9cba01ad53fe9b71cd0 (patch)
tree7e78828b21f302265cdeda686515e861c545630d
parent82a0eeec84ef63a086b17ef33ff2284b5cbb99e9 (diff)
downloadwebtools.jsf-a751512fbbbba4ed153bb9cba01ad53fe9b71cd0.zip
webtools.jsf-a751512fbbbba4ed153bb9cba01ad53fe9b71cd0.tar.gz
webtools.jsf-a751512fbbbba4ed153bb9cba01ad53fe9b71cd0.tar.bz2
compilation error in org.eclipse..jst.jsf.core
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/contentassist/el/ContentAssistParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/contentassist/el/ContentAssistParser.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/contentassist/el/ContentAssistParser.java
index 6472104..f71d098 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/contentassist/el/ContentAssistParser.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/contentassist/el/ContentAssistParser.java
@@ -116,7 +116,7 @@ public final class ContentAssistParser
}
private static String substring(String s, Region r) {
- if (s == null || s.isEmpty())
+ if (s == null || s.length() < 1)
{
return ""; //$NON-NLS-1$
}