给ThreadLoocal变量添加上final修饰
This commit is contained in:
parent
27faa6153a
commit
92c04c0c15
@ -18,7 +18,7 @@ public class TracerUtils {
|
|||||||
/**
|
/**
|
||||||
* 维护请求线程对应的TraceId
|
* 维护请求线程对应的TraceId
|
||||||
*/
|
*/
|
||||||
private static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>();
|
private final static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存链路流水号
|
* 保存链路流水号
|
||||||
|
Loading…
Reference in New Issue
Block a user