Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2017-04-04 06:56:42 +0000
committerMickael Istria2017-04-04 07:00:18 +0000
commitd8543e64c954fa678badd2d76c6e8bdd0883abca (patch)
treee8ed75b99ff42d738aa488377416a1f5e65c319e
parent4d1c687563b083fa82a778a37f108483ab2aa217 (diff)
downloadeclipse.platform.text-d8543e64c954fa678badd2d76c6e8bdd0883abca.tar.gz
eclipse.platform.text-d8543e64c954fa678badd2d76c6e8bdd0883abca.tar.xz
eclipse.platform.text-d8543e64c954fa678badd2d76c6e8bdd0883abca.zip
Bug 514642 - (async) completion sometimes missing
Change-Id: I89b9e146a4e478fa9e416782e199abd9b9280c30 Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
index 12a381ec1..39538bce2 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/AsyncCompletionProposalPopup.java
@@ -155,7 +155,7 @@ class AsyncCompletionProposalPopup extends CompletionProposalPopup {
long requestBeginningTimestamp = System.currentTimeMillis();
long stillRemainingThreeshold = MAX_WAIT_IN_MS;
- for (CompletableFuture<List<ICompletionProposal>> future : fFutures) {
+ for (CompletableFuture<?> future : populateFutures) {
try {
future.get(stillRemainingThreeshold, TimeUnit.MILLISECONDS);
} catch (TimeoutException | ExecutionException | InterruptedException ex) {

Back to the top