mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 01:06:01 +02:00
Use linked hash map instead of hash map to reserve the config order
This commit is contained in:
parent
36be849242
commit
7c46867c0b
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ package org.eclipse.cdt.managedbuilder.internal.core;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -422,7 +422,7 @@ public class ManagedProject extends BuildObject implements IManagedProject, IBui
|
|||
*/
|
||||
public Map getConfigurationMap() {
|
||||
if (configMap == null) {
|
||||
configMap = new HashMap();
|
||||
configMap = new LinkedHashMap();
|
||||
}
|
||||
return configMap;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue