mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-05 13:17:58 +08:00
fix lock bug
This commit is contained in:
parent
97f1e8b3dd
commit
775afa68cc
@ -15,8 +15,9 @@
|
||||
* 【cache 】 修复Cache中get重复misCount计数问题(issue#1281@Github)
|
||||
* 【poi 】 修复sax读取自定义格式单元格无法识别日期类型的问题(issue#1283@Github)
|
||||
* 【core 】 修复CollUtil.get越界问题(issue#1292@Github)
|
||||
* 【json 】 修复TemporalAccessorUtil无法格式化LocalDate带时间问题(issue#1289@Github)
|
||||
* 【core 】 修复TemporalAccessorUtil无法格式化LocalDate带时间问题(issue#1289@Github)
|
||||
* 【json 】 修复自定义日期格式的LocalDateTime没有包装引号问题(issue#1289@Github)
|
||||
* 【cache 】 get中unlock改为unlockRead(issue#1294@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -174,7 +174,7 @@ public abstract class AbstractCache<K, V> implements Cache<K, V> {
|
||||
return co.get(isUpdateLastAccess);
|
||||
}
|
||||
} finally {
|
||||
lock.unlock(stamp);
|
||||
lock.unlockRead(stamp);
|
||||
}
|
||||
|
||||
// 过期
|
||||
|
Loading…
Reference in New Issue
Block a user