Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2019-10-09 09:39:44 +0000
committerAndrey Loskutov2019-10-09 09:39:44 +0000
commitf4e018022e54f4c75b5dd8c8614d2ab2a7c0f17e (patch)
tree7b3b49c57b08fe71d9322b4498746cc286689090
parent1363fef4438fcbeeff43bdfc8f2503f7e16881de (diff)
downloadeclipse.platform.text-f4e018022e54f4c75b5dd8c8614d2ab2a7c0f17e.tar.gz
eclipse.platform.text-f4e018022e54f4c75b5dd8c8614d2ab2a7c0f17e.tar.xz
eclipse.platform.text-f4e018022e54f4c75b5dd8c8614d2ab2a7c0f17e.zip
Bug 551570 - Two org.eclipse.ui.genericeditor.tests.ContextInfoTest
fails on Linux since I20190926-0625 Fixed random, platform/JDK version specific order of GenericContentTypeRelatedExtension values in "extensions" map in ContentAssistProcessorRegistry. Change-Id: I60d51eeb9729a0fc18d8bd4fdb0cb36a32a4e6c4 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
index 1dc5f4d9f..8b3505883 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ContentAssistProcessorRegistry.java
@@ -13,8 +13,8 @@
*******************************************************************************/
package org.eclipse.ui.internal.genericeditor;
-import java.util.HashMap;
import java.util.HashSet;
+import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -130,7 +130,7 @@ public class ContentAssistProcessorRegistry {
}
}
- private Map<IConfigurationElement, GenericContentTypeRelatedExtension<IContentAssistProcessor>> extensions = new HashMap<>();
+ private Map<IConfigurationElement, GenericContentTypeRelatedExtension<IContentAssistProcessor>> extensions = new LinkedHashMap<>();
private boolean outOfSync = true;
/**

Back to the top