Author: vrubezhny
Date: 2011-03-14 14:44:25 -0400 (Mon, 14 Mar 2011)
New Revision: 29765
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AutoELContentAssistantProposal.java
Log:
JBIDE-8271
Help text for CDI filed conent assist proposal contains unnecessary text with weird
symbols in header and doesn't contains any text in case of missing javadoc
Header containing getter/setter methods name is removed
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AutoELContentAssistantProposal.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AutoELContentAssistantProposal.java 2011-03-14
17:27:37 UTC (rev 29764)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AutoELContentAssistantProposal.java 2011-03-14
18:44:25 UTC (rev 29765)
@@ -77,7 +77,7 @@
IJavaElement element= null;
if (nResults > 1) {
- for (int i= 0; i < elements.length; i++) {
+/* for (int i= 0; i < elements.length; i++) {
if (elements[i] == null) continue;
if (elements[i] instanceof IMember ||
elements[i].getElementType() == IJavaElement.LOCAL_VARIABLE ||
@@ -87,14 +87,15 @@
}
buffer.append("<br/>"); //$NON-NLS-1$
}
-
+*/
for (int i=0; i < elements.length; i++) {
if (elements[i] == null) continue;
if (elements[i] instanceof IMember ||
elements[i].getElementType() == IJavaElement.LOCAL_VARIABLE ||
elements[i].getElementType() == IJavaElement.TYPE_PARAMETER) {
+ buffer.append('\uE467').append(' ');
+ addFullInfo(buffer, elements[i]);
buffer.append("<br/>"); //$NON-NLS-1$
- addFullInfo(buffer, elements[i]);
hasContents = true;
}
}