mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix lock bug
This commit is contained in:
@@ -75,7 +75,7 @@ public class ConverterRegistry implements Serializable{
|
||||
/** 默认类型转换器 */
|
||||
private Map<Type, Converter<?>> defaultConverterMap;
|
||||
/** 用户自定义类型转换器 */
|
||||
private Map<Type, Converter<?>> customConverterMap;
|
||||
private volatile Map<Type, Converter<?>> customConverterMap;
|
||||
|
||||
/** 类级的内部类,也就是静态的成员式内部类,该内部类的实例与外部类的实例 没有绑定关系,而且只有被调用到才会装载,从而实现了延迟加载 */
|
||||
private static class SingletonHolder {
|
||||
|
Reference in New Issue
Block a user