We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c432f1e commit 0f71d64Copy full SHA for 0f71d64
1 file changed
org.eclipse.lsp4e.jdt/src/org/eclipse/lsp4e/jdt/LSJavaProposal.java
@@ -31,7 +31,7 @@ class LSJavaProposal implements IJavaCompletionProposal {
31
// Based on org.eclipse.jdt.internal.ui.text.java.RelevanceComputer
32
private static final int DEFAULT_RELEVANCE = (RelevanceConstants.R_DEFAULT + LS_DEFAULT_RELEVANCE) * 16;
33
34
- private static final int RANGE_WITHIN_CATEGORY = Math.round((MAX_BASE_RELEVANCE - DEFAULT_RELEVANCE) / 4);
+ private static final int RANGE_WITHIN_CATEGORY = Math.round((MAX_BASE_RELEVANCE - DEFAULT_RELEVANCE) / 4f);
35
36
protected ICompletionProposal delegate;
37
private boolean relevanceComputed = false;
0 commit comments