mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-12 09:11:53 +08:00
给ThreadLoocal变量添加上final修饰
This commit is contained in:
@@ -18,7 +18,7 @@ public class TracerUtils {
|
||||
/**
|
||||
* 维护请求线程对应的TraceId
|
||||
*/
|
||||
private static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>();
|
||||
private final static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>();
|
||||
|
||||
/**
|
||||
* 保存链路流水号
|
||||
|
Reference in New Issue
Block a user