1
0
mirror of https://e.coding.net/circlecloud/RealBackpacks.git synced 2024-12-04 03:49:07 +00:00

fix mysql error...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092 2015-05-20 12:55:10 +08:00
parent 6c0cb77cb2
commit 7b1ea95b81

View File

@ -27,7 +27,7 @@ import cn.citycraft.RealBackpacks.json.JSONObject;
*/ */
public class Serialization { public class Serialization {
public static String NullString = "|--空--|"; public static String NullString = "|--空--|";
public static String SplitString = "|-分割-|"; public static String SplitString = "<-分割->";
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public static Map<String, Object> toMap(final JSONObject object) public static Map<String, Object> toMap(final JSONObject object)
@ -72,7 +72,7 @@ public class Serialization {
if (newString == null) { if (newString == null) {
newString = s; newString = s;
} else { } else {
newString = newString + SplitString + s; newString += SplitString + s;
} }
} }
return newString; return newString;