Skip to content

Commit

Permalink
Properties will preserve the order of insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog committed May 30, 2019
1 parent 4a72b25 commit a0a54c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CodenameOne/src/com/codename1/properties/PropertyIndex.java
Expand Up @@ -48,6 +48,7 @@
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;

/**
Expand All @@ -59,7 +60,7 @@
*/
public class PropertyIndex implements Iterable<PropertyBase> {
private final PropertyBase[] properties;
private static HashMap<String, HashMap<String, Object>> metadata = new HashMap<String, HashMap<String, Object>>();
private static Map<String, HashMap<String, Object>> metadata = new LinkedHashMap<String, HashMap<String, Object>>();
PropertyBusinessObject parent;
private final String name;

Expand Down

1 comment on commit a0a54c7

@jsfan3
Copy link
Contributor

@jsfan3 jsfan3 commented on a0a54c7 May 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Please sign in to comment.