mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-07-23 09:39:33 +08:00
update
This commit is contained in:
parent
5af91191de
commit
b2db35c9be
@ -15,7 +15,7 @@ public class PlayEduFContext {
|
||||
public PlayEduFContext() {
|
||||
}
|
||||
|
||||
public static void put(String key, Object val) {
|
||||
private static void put(String key, Object val) {
|
||||
LinkedHashMap<String, Object> hashMap = THREAD_LOCAL.get();
|
||||
if (hashMap == null) {
|
||||
hashMap = new LinkedHashMap<>();
|
||||
@ -24,7 +24,7 @@ public class PlayEduFContext {
|
||||
THREAD_LOCAL.set(hashMap);
|
||||
}
|
||||
|
||||
public static Object get(String key) {
|
||||
private static Object get(String key) {
|
||||
return THREAD_LOCAL.get().getOrDefault(key, null);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user