Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Krasilnikov2007-09-20 07:32:21 +0000
committerOleg Krasilnikov2007-09-20 07:32:21 +0000
commitd8ed3cc27f29fbb4881c04a6186a18ed7971a001 (patch)
tree682f945748b3826121eb6433aae038af3c8fa550 /core/org.eclipse.cdt.core/templateengine
parentfe8aede0d0086dbc9f1593439112216c32d53785 (diff)
downloadorg.eclipse.cdt-d8ed3cc27f29fbb4881c04a6186a18ed7971a001.tar.gz
org.eclipse.cdt-d8ed3cc27f29fbb4881c04a6186a18ed7971a001.tar.xz
org.eclipse.cdt-d8ed3cc27f29fbb4881c04a6186a18ed7971a001.zip
Bug #204042 : Project code templates are not presented in order
Diffstat (limited to 'core/org.eclipse.cdt.core/templateengine')
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
index 81d3eacf15e..820a1d5d5ed 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
@@ -17,6 +17,7 @@ import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
+import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -57,7 +58,7 @@ public class TemplateEngine {
* TemplateEngine constructor, create and initialize SharedDefaults.
*/
private TemplateEngine() {
- templateInfoMap = new HashMap/*<String, List<TemplateInfo>>*/();
+ templateInfoMap = new LinkedHashMap/*<String, List<TemplateInfo>>*/();
initializeTemplateInfoMap();
}

Back to the top