Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbridgha2005-04-04 17:13:13 +0000
committercbridgha2005-04-04 17:13:13 +0000
commit38b9a0be863815028cff2be284d57aade2221fbe (patch)
tree80aec3bc5129c2bb64996ad1837de0f81e509e39 /plugins/org.eclipse.jst.common.annotations.ui
parent68ec0f0f07f8e0d19f20ee058ba5dbaceeb83c4f (diff)
downloadwebtools.javaee-38b9a0be863815028cff2be284d57aade2221fbe.tar.gz
webtools.javaee-38b9a0be863815028cff2be284d57aade2221fbe.tar.xz
webtools.javaee-38b9a0be863815028cff2be284d57aade2221fbe.zip
[nobug] Reacting to M6
Diffstat (limited to 'plugins/org.eclipse.jst.common.annotations.ui')
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java
index 218747f33..128bc83ec 100644
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java
+++ b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java
@@ -72,15 +72,10 @@ public class AnnotationTagProposal extends JavaCompletionProposal {
* @param image
* @param displayString
* @param relevance
- * @param viewer
*/
- public AnnotationTagProposal(String replacementString, int replacementOffset, int replacementLength, Image image, String displayString, int relevance, ITextViewer viewer) {
- super(replacementString, replacementOffset, replacementLength, image, displayString, relevance);
- this.localString = replacementString;
- }
public AnnotationTagProposal(AttributeValueProposalHelper proposalHelper) {
- this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), null, proposalHelper.getValueDisplayString(), 1, null);
+ this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), null, proposalHelper.getValueDisplayString(), 1);
if (proposalHelper instanceof UIAttributeValueProposalHelper)
setImage(((UIAttributeValueProposalHelper) proposalHelper).getImage());
setEnsureBeginQuote(proposalHelper.ensureBeginQuote());
@@ -88,7 +83,7 @@ public class AnnotationTagProposal extends JavaCompletionProposal {
}
public AnnotationTagProposal(UIAttributeValueProposalHelper proposalHelper) {
- this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), proposalHelper.getImage(), proposalHelper.getValueDisplayString(), 1, null);
+ this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), proposalHelper.getImage(), proposalHelper.getValueDisplayString(), 1);
setEnsureBeginQuote(proposalHelper.ensureBeginQuote());
setEnsureEndQuote(proposalHelper.ensureEndQuote());
}

Back to the top