diff options
author | Mickael Istria | 2017-04-04 06:56:42 +0000 |
---|---|---|
committer | Mickael Istria | 2017-04-04 07:00:18 +0000 |
commit | d8543e64c954fa678badd2d76c6e8bdd0883abca (patch) | |
tree | e8ed75b99ff42d738aa488377416a1f5e65c319e | |
parent | 4d1c687563b083fa82a778a37f108483ab2aa217 (diff) | |
download | eclipse.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.java | 2 |
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 12a381ec1e4..39538bce28b 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) { |