From 17a0b49c85d2b3346ac796ad966d5d11c52987a4 Mon Sep 17 00:00:00 2001 From: kamhung <22250530@qq.com> Date: Mon, 16 Nov 2015 17:41:28 +0800 Subject: [PATCH] --- src/com/wentch/redkale/source/EntityInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/wentch/redkale/source/EntityInfo.java b/src/com/wentch/redkale/source/EntityInfo.java index 3e4507f6b..f5850cb7a 100644 --- a/src/com/wentch/redkale/source/EntityInfo.java +++ b/src/com/wentch/redkale/source/EntityInfo.java @@ -95,7 +95,7 @@ public final class EntityInfo { synchronized (entityInfos) { rs = entityInfos.get(clazz); if (rs == null) { - rs = new EntityInfo(clazz, nodeid, cacheForbidden, fullloader); + rs = new EntityInfo(clazz, nodeid, cacheForbidden); entityInfos.put(clazz, rs); AutoLoad auto = clazz.getAnnotation(AutoLoad.class); if (rs.cache != null && auto != null && auto.value() && fullloader != null) { @@ -106,7 +106,7 @@ public final class EntityInfo { } } - private EntityInfo(Class type, int nodeid, final boolean cacheForbidden, Function, List> fullloader) { + private EntityInfo(Class type, int nodeid, final boolean cacheForbidden) { this.type = type; //--------------------------------------------- this.nodeid = nodeid;