This commit is contained in:
@@ -54,9 +54,7 @@ public final class EntityCache<T> {
|
|||||||
this.needcopy = true;
|
this.needcopy = true;
|
||||||
this.reproduce = Reproduce.create(type, type, (m) -> {
|
this.reproduce = Reproduce.create(type, type, (m) -> {
|
||||||
try {
|
try {
|
||||||
Transient t = type.getDeclaredField(m).getAnnotation(Transient.class);
|
return type.getDeclaredField(m).getAnnotation(Transient.class) == null;
|
||||||
if (t != null) return false;
|
|
||||||
return true;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user