Author: akazakov
Date: 2010-10-11 14:46:03 -0400 (Mon, 11 Oct 2010)
New Revision: 25734
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java
Log:
https://jira.jboss.org/browse/JBIDE-7264
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java 2010-10-11
18:42:37 UTC (rev 25733)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java 2010-10-11
18:46:03 UTC (rev 25734)
@@ -104,45 +104,6 @@
}
static String COMPOSITE_URI = "http://java.sun.com/jsf/composite";
- static ELResolution EMPTY_RESOLUTION = new ELResolution() {
- public List<ELSegment> getSegments() {
- return Collections.emptyList();
- }
- public ELExpression getSourceOperand() {
- return null;
- }
- public ELContext getContext() {
- return null;
- }
- public List<ELSegment> findSegmentsByVariable(IVariable variable) {
- return null;
- }
- public List<ELSegment> findSegmentsByJavaElement(IJavaElement element) {
- return null;
- }
- public List<ELSegment> findSegmentsByMessageProperty(String baseName,
- String propertyName) {
- return null;
- }
- public ELSegment findSegmentByOffset(int offcet) {
- return null;
- }
- public ELSegment getUnresolvedSegment() {
- return null;
- }
- public boolean isResolved() {
- return false;
- }
- public ELSegment getLastSegment() {
- return null;
- }
- public int getNumberOfResolvedSegments() {
- return 0;
- }
- public String getValue() {
- return null;
- }
- };
/*
* (non-Javadoc)
@@ -157,7 +118,7 @@
return resolution;
}
}
- return EMPTY_RESOLUTION;
+ return null;
}
public ELResolutionImpl resolveELOperand(ELExpression operand,