eclipse plugin: Use a LinkedHashSet instead of a HashSet...
...to maintain the order in which we add the tree nodes
This commit is contained in:
parent
5ec29ba0f2
commit
25d338b2db
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ import java.io.Serializable;
|
|||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Queue;
|
||||
|
@ -93,7 +93,7 @@ public class DependencyTreeBuilder implements Serializable
|
|||
}
|
||||
|
||||
// now check what macros are really an inclusion macro
|
||||
Set<String> containersToAdd = new HashSet<String>( );
|
||||
Set<String> containersToAdd = new LinkedHashSet<String>( );
|
||||
|
||||
for ( WMLMacroCall macro : macroCalls ) {
|
||||
String name = macro.getName( );
|
||||
|
|
Loading…
Add table
Reference in a new issue