mirror of
https://github.com/essentials/Essentials.git
synced 2025-01-18 13:56:29 +01:00
Test if objects can be read from yaml in the original sort
This commit is contained in:
parent
febb7916dd
commit
cd821bb669
@ -4,6 +4,7 @@ import com.earth2me.essentials.storage.Comment;
|
||||
import com.earth2me.essentials.storage.MapType;
|
||||
import com.earth2me.essentials.storage.StorageObject;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -17,6 +18,9 @@ public class General extends StorageObject
|
||||
{
|
||||
super();
|
||||
locations.put("Test", new Location());
|
||||
locations.put("Test5", new Location());
|
||||
locations.put("Test4", new Location());
|
||||
locations.put("Test3", new Location());
|
||||
locations.put("Test2", new Location());
|
||||
}
|
||||
private boolean debug = false;
|
||||
@ -33,5 +37,5 @@ public class General extends StorageObject
|
||||
})
|
||||
private String locale;
|
||||
@MapType(Location.class)
|
||||
private Map<String, Location> locations = new HashMap<String, Location>();
|
||||
private LinkedHashMap<String, Location> locations = new LinkedHashMap<String, Location>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user