Author: akazakov
Date: 2011-05-24 20:27:38 -0400 (Tue, 24 May 2011)
New Revision: 31467
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/proposal/ResourcePathProposalType.java
Log:
https://issues.jboss.org/browse/JBIDE-8953
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/proposal/ResourcePathProposalType.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/proposal/ResourcePathProposalType.java 2011-05-25
00:07:18 UTC (rev 31466)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/proposal/ResourcePathProposalType.java 2011-05-25
00:27:38 UTC (rev 31467)
@@ -136,7 +136,7 @@
}
if(optionalPrefix!=null) {
try {
- TextProposal clone = proposal.clone();
+ TextProposal clone = (TextProposal)proposal.clone();
clone.setLabel(optionalPrefix + proposal.getLabel());
clone.setReplacementString(optionalPrefix + proposal.getReplacementString());
clone.setPosition(clone.getReplacementString().length());