remove JSONNull

This commit is contained in:
Looly
2022-06-07 11:55:28 +08:00
parent f985887406
commit c914574c30
16 changed files with 157 additions and 202 deletions

View File

@@ -186,15 +186,13 @@ public class ObjUtil {
*
* <pre>
* 1. == null
* 2. equals(null)
* </pre>
*
* @param obj 对象
* @return 是否为null
*/
public static boolean isNull(final Object obj) {
//noinspection ConstantConditions
return null == obj || obj.equals(null);
return null == obj;
}
/**