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;