Commit 24f81781 authored by yanzg's avatar yanzg

修复等待时间

parent 914c4128
...@@ -131,8 +131,7 @@ public class Log { ...@@ -131,8 +131,7 @@ public class Log {
*/ */
public static LogDate threadCurrent() { public static LogDate threadCurrent() {
String threadId = getThreadId(); String threadId = getThreadId();
LogDate log = threadCache.containsKey(threadId) ? threadCache.get(threadId) : null; return threadCache.getOrDefault(threadId, null);
return log;
} }
/** /**
......
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 to comment