Author: vyemialyanchyk
Date: 2008-01-24 09:50:47 -0500 (Thu, 24 Jan 2008)
New Revision: 5941
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/xpl/BaseXMLContentAssistProcessor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1624
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/xpl/BaseXMLContentAssistProcessor.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/xpl/BaseXMLContentAssistProcessor.java 2008-01-24
14:46:32 UTC (rev 5940)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/xpl/BaseXMLContentAssistProcessor.java 2008-01-24
14:50:47 UTC (rev 5941)
@@ -12,7 +12,6 @@
*******************************************************************************/
package org.hibernate.eclipse.mapper.editors.xpl;
-import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -58,16 +57,7 @@
if (nameRegion != null) {
String attributeName = open.getText(nameRegion);
- List attributeValueProposals = new ArrayList();
- if (0 == matchString.length()) {
- for (char ch = 'a'; ch <= 'z'; ch++) {
- String matchStrTmp = String.valueOf(ch);
- attributeValueProposals.addAll(getAttributeValueProposals(attributeName,
matchStrTmp, offset, contentAssistRequest));
- }
- }
- else {
- attributeValueProposals.addAll(getAttributeValueProposals(attributeName, matchString,
offset, contentAssistRequest));
- }
+ List attributeValueProposals = getAttributeValueProposals(attributeName, matchString,
offset, contentAssistRequest);
if(attributeValueProposals!=null) {
for (Iterator iter = attributeValueProposals.iterator(); iter.hasNext();) {
ICompletionProposal element = (ICompletionProposal) iter.next();