代码优化
This commit is contained in:
@@ -103,5 +103,9 @@ public class IOUtils extends org.apache.commons.io.IOUtils {
|
|||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public IOUtils() {
|
||||||
|
// empty
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -363,5 +363,9 @@ public class ObjectUtils extends org.apache.commons.lang3.ObjectUtils {
|
|||||||
// inputPool.free(input);
|
// inputPool.free(input);
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public ObjectUtils() {
|
||||||
|
// empty
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -415,5 +415,9 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public StringUtils() {
|
||||||
|
// empty
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user