代码优化

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

@@ -104,4 +104,8 @@ public class IOUtils extends org.apache.commons.io.IOUtils {
} }
} }
@Deprecated
public IOUtils() {
// empty
}
} }

View File

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

View File

@@ -364,4 +364,8 @@ public class ObjectUtils extends org.apache.commons.lang3.ObjectUtils {
// } // }
// } // }
@Deprecated
public ObjectUtils() {
// empty
}
} }

View File

@@ -416,4 +416,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
} }
} }
@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;