Author: vrubezhny
Date: 2012-06-29 12:00:24 -0400 (Fri, 29 Jun 2012)
New Revision: 42315
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java
Log:
JBIDE-12177
autocompletion is broken in visual editor
Minor changes (using StringBuilder instead of synchronized and slower StringBuffer)
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java 2012-06-29
15:51:56 UTC (rev 42314)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java 2012-06-29
16:00:24 UTC (rev 42315)
@@ -382,7 +382,7 @@
if (query == null)
query = ""; //$NON-NLS-1$
- StringBuffer stringQuery = new StringBuffer();
+ StringBuilder stringQuery = new StringBuilder();
if (query.indexOf(':') == -1 && prefix != null &&
prefix.length() > 0) {
stringQuery.append(prefix).append(':');
}
Show replies by date