forked from MirrorHub/authlib-injector
[json-simple]Use LinkedHashMap in JSONObject
This commit is contained in:
parent
b59400f3dd
commit
def9d9614e
2 changed files with 2 additions and 3 deletions
|
@ -7,8 +7,8 @@ package moe.yushi.authlibinjector.internal.org.json.simple;
|
|||
import java.io.IOException;
|
||||
import java.io.StringWriter;
|
||||
import java.io.Writer;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@ import java.util.Map;
|
|||
*
|
||||
* @author FangYidong<fangyidong@yahoo.com.cn>
|
||||
*/
|
||||
public class JSONObject extends HashMap<String, Object> implements JSONAware, JSONStreamAware {
|
||||
public class JSONObject extends LinkedHashMap<String, Object> implements JSONAware, JSONStreamAware {
|
||||
|
||||
private static final long serialVersionUID = -503443796854799292L;
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ import java.io.Reader;
|
|||
import java.io.StringWriter;
|
||||
import java.io.Writer;
|
||||
import java.util.Collection;
|
||||
// import java.util.List;
|
||||
import java.util.Map;
|
||||
import moe.yushi.authlibinjector.internal.org.json.simple.parser.JSONParser;
|
||||
import moe.yushi.authlibinjector.internal.org.json.simple.parser.ParseException;
|
||||
|
|
Loading…
Reference in a new issue