diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java index eaf44cb24fc..dc30c0ca9e0 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/CSpellingProblem.java @@ -123,7 +123,7 @@ public class CSpellingProblem extends SpellingProblem { result = new ICCompletionProposal[] { new ChangeCaseProposal(arguments, getOffset(), getLength(), context, engine.getLocale()) }; } else { - proposals = new ArrayList<RankedWordProposal>(checker.getProposals(arguments[0], sentence)); + proposals = new ArrayList<>(checker.getProposals(arguments[0], sentence)); size = proposals.size(); if (threshold > 0 && size > threshold) { |