File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1733,9 +1733,12 @@ public static Object wrap(Object object) {
17331733 }
17341734 if (object instanceof JSONObject || object instanceof JSONArray
17351735 || NULL .equals (object ) || object instanceof JSONString
1736- || object instanceof Number || object instanceof Character
1737- || object instanceof Boolean || object instanceof String
1738- || object instanceof Enum ) {
1736+ || object instanceof Byte || object instanceof Character
1737+ || object instanceof Short || object instanceof Integer
1738+ || object instanceof Long || object instanceof Boolean
1739+ || object instanceof Float || object instanceof Double
1740+ || object instanceof String || object instanceof BigInteger
1741+ || object instanceof BigDecimal || object instanceof Enum ) {
17391742 return object ;
17401743 }
17411744
You can’t perform that action at this time.
0 commit comments