Skip to content

Commit

Permalink
Fix typo: Propsoal -> Proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 authored and fabioz committed Sep 5, 2023
1 parent d102e94 commit 9a54d5e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class JavaElementToken extends CompiledToken {

private int completionProposalAdditionalFlags;

private char[] completionPropsoalSignature;
private char[] completionProposalSignature;

/**
* If not null, this image is returned (otherwise, the image is calculated)
Expand All @@ -67,13 +67,13 @@ public class JavaElementToken extends CompiledToken {

protected JavaElementToken(String rep, String doc, String args, String parentPackage, int type,
IJavaElement javaElement, int completionProposalKind, int completionProposalFlags,
int completionProposalAdditionalFlags, char[] completionPropsoalSignature) {
int completionProposalAdditionalFlags, char[] completionProposalSignature) {
super(rep, doc, args, parentPackage, type, null);
this.javaElement = javaElement;
this.completionProposalKind = completionProposalKind;
this.completionProposalFlags = completionProposalFlags;
this.completionProposalAdditionalFlags = completionProposalAdditionalFlags;
this.completionPropsoalSignature = completionPropsoalSignature;
this.completionProposalSignature = completionProposalSignature;
}

public JavaElementToken(String rep, String doc, String args, String parentPackage, int type,
Expand All @@ -85,7 +85,7 @@ public JavaElementToken(String rep, String doc, String args, String parentPackag
if (HAS_ADDITIONAL_FLAGS) {
this.completionProposalAdditionalFlags = completionProposal.getAdditionalFlags();
}
this.completionPropsoalSignature = completionProposal.getSignature();
this.completionProposalSignature = completionProposal.getSignature();
}

public JavaElementToken(String rep, String doc, String args, String parentPackage, int type,
Expand All @@ -106,8 +106,8 @@ public IImageHandle getImage() {
if (HAS_ADDITIONAL_FLAGS) {
generatedProposal.setAdditionalFlags(completionProposalAdditionalFlags);
}
generatedProposal.setDeclarationSignature(completionPropsoalSignature);
generatedProposal.setSignature(completionPropsoalSignature);
generatedProposal.setDeclarationSignature(completionProposalSignature);
generatedProposal.setSignature(completionProposalSignature);

//uses: kind, flags, signature to create an image.
ImageDescriptor descriptor = provider.createImageDescriptor(generatedProposal);
Expand Down

0 comments on commit 9a54d5e

Please sign in to comment.