代码优化

This commit is contained in:
thinkgem
2025-05-24 16:59:06 +08:00
parent c7d317c1da
commit c478f2a969
5 changed files with 22 additions and 9 deletions

View File

@@ -103,5 +103,9 @@ public class IOUtils extends org.apache.commons.io.IOUtils {
// ignore // ignore
} }
} }
@Deprecated
public IOUtils() {
// empty
}
} }

View File

@@ -119,5 +119,9 @@ public class NumberUtils extends org.apache.commons.lang3.math.NumberUtils {
} }
return df.format(data); return df.format(data);
} }
@Deprecated
public NumberUtils() {
// empty
}
} }

View File

@@ -363,5 +363,9 @@ public class ObjectUtils extends org.apache.commons.lang3.ObjectUtils {
// inputPool.free(input); // inputPool.free(input);
// } // }
// } // }
@Deprecated
public ObjectUtils() {
// empty
}
} }

View File

@@ -415,5 +415,9 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
return name; return name;
} }
} }
@Deprecated
public StringUtils() {
// empty
}
} }

View File

@@ -1,7 +1,5 @@
package com.jeesite.common.utils; package com.jeesite.common.utils;
import org.apache.commons.lang3.StringUtils;
import java.text.ParseException; import java.text.ParseException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Calendar; import java.util.Calendar;
@@ -11,11 +9,10 @@ import java.util.Map;
/** /**
* 身份证工具类 * 身份证工具类
*
* @author June * @author June
* @version 1.0, 2010-06-17 * @version 2010-06-17
*/ */
public class IdcardUtils extends StringUtils { public class IdcardUtils {
/** 中国公民身份证号码最小长度。 */ /** 中国公民身份证号码最小长度。 */
public static final int CHINA_ID_MIN_LENGTH = 15; public static final int CHINA_ID_MIN_LENGTH = 15;