mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
99763a32b3
commit
e57a927c9b
@ -73,7 +73,7 @@ public class LambdaUtil {
|
|||||||
* @param func 需要解析的 lambda 对象
|
* @param func 需要解析的 lambda 对象
|
||||||
* @return 返回解析后的结果
|
* @return 返回解析后的结果
|
||||||
*/
|
*/
|
||||||
private static <T> SerializedLambda _resolve(Serializable func) {
|
private static SerializedLambda _resolve(Serializable func) {
|
||||||
return cache.get(func.getClass().getName(), () -> ReflectUtil.invoke(func, "writeReplace"));
|
return cache.get(func.getClass().getName(), () -> ReflectUtil.invoke(func, "writeReplace"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user