Commit 85cd6361 by xuxueli

Merge branch 'master' of https://github.com/xuxueli/xxl-job

parents 1ad83552 08f6177d
...@@ -24,7 +24,7 @@ public class DateUtil { ...@@ -24,7 +24,7 @@ public class DateUtil {
private static final String DATE_FORMAT = "yyyy-MM-dd"; private static final String DATE_FORMAT = "yyyy-MM-dd";
private static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss"; private static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
private static ThreadLocal<Map<String, DateFormat>> dateFormatThreadLocal = new ThreadLocal<Map<String, DateFormat>>(); private static final ThreadLocal<Map<String, DateFormat>> dateFormatThreadLocal = new ThreadLocal<Map<String, DateFormat>>();
private static DateFormat getDateFormat(String pattern) { private static DateFormat getDateFormat(String pattern) {
if (pattern==null || pattern.trim().length()==0) { if (pattern==null || pattern.trim().length()==0) {
throw new IllegalArgumentException("pattern cannot be empty."); throw new IllegalArgumentException("pattern cannot be empty.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment