给ThreadLoocal变量添加上final修饰

pull/2/head
dark 2021-03-21 20:53:50 +08:00
parent 27faa6153a
commit 92c04c0c15
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public class TracerUtils {
/** /**
* 线TraceId * 线TraceId
*/ */
private static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>(); private final static FastThreadLocal<String> traceIdMap = new FastThreadLocal<>();
/** /**
* *