Skip to content

Commit

Permalink
FORGE-2032: Using TreeMap to keep the attribute order
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 23, 2014
1 parent 7ef8f77 commit 229ad4e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,10 +9,10 @@

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;

/**
* @author <a href="mailto:paul.bakker.nl@gmail.com">Paul Bakker</a>
Expand Down Expand Up @@ -125,7 +125,7 @@ public ConfigurationElement getChildByName(String name)
Map<String, String> getMutableAttributes()
{
if (attributes == null)
attributes = new HashMap<String, String>();
attributes = new TreeMap<String, String>();
return attributes;
}

Expand Down

0 comments on commit 229ad4e

Please sign in to comment.