mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-07 02:51:36 +00: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