Skip to content

Commit

Permalink
Fix typo: Propostal -> Proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 committed Sep 5, 2023
1 parent 9a54d5e commit d07efd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ImportInfo getImportsTipperStr(CompletionRequest request) {
* tokens to actual completions as requested by the Eclipse infrastructure.
* @param lookingForInstance if looking for instance, we should not add the 'self' as parameter.
*/
public static void changeItokenToCompletionPropostal(CompletionRequest request,
public static void changeItokenToCompletionProposal(CompletionRequest request,
List<ICompletionProposalHandle> convertedProposals, TokensOrProposalsList iTokenList, boolean importsTip,
ICompletionState state) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public TokensOrProposalsList getCodeCompletionProposals(CompletionRequest reques
tokensList = new TokensOrProposalsList(analyzedTokens.toArray(new Object[0]));
tokensList.addAll(new TokensListMixedLookingFor(alreadyChecked.values()));
}
changeItokenToCompletionPropostal(request, ret, tokensList, importsTip, state);
changeItokenToCompletionProposal(request, ret, tokensList, importsTip, state);
} catch (CompletionRecursionException e) {
if (onCompletionRecursionException != null) {
onCompletionRecursionException.call(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public TokensOrProposalsList getStringCompletions() throws CoreException,
tokensList.addAll(tokenCompletions);

List<ICompletionProposalHandle> completionProposals = new ArrayList<>();
PyCodeCompletion.changeItokenToCompletionPropostal(request, completionProposals, tokensList, false, state);
PyCodeCompletion.changeItokenToCompletionProposal(request, completionProposals, tokensList, false, state);
TokensOrProposalsList ret = new TokensOrProposalsList(completionProposals);
return ret;
}
Expand Down

0 comments on commit d07efd3

Please sign in to comment.