Oops, that will never be null.
This commit is contained in:
@@ -226,7 +226,7 @@ public abstract class FieldMarshaller<T>
|
|||||||
field.getDeclaringClass().getAnnotation(Computed.class) : _computed;
|
field.getDeclaringClass().getAnnotation(Computed.class) : _computed;
|
||||||
if (dcomputed != null) {
|
if (dcomputed != null) {
|
||||||
Class<? extends PersistentRecord> sclass = dcomputed.shadowOf();
|
Class<? extends PersistentRecord> sclass = dcomputed.shadowOf();
|
||||||
if (sclass != null) {
|
if (!PersistentRecord.class.equals(sclass)) {
|
||||||
try {
|
try {
|
||||||
column = sclass.getField(field.getName()).getAnnotation(Column.class);
|
column = sclass.getField(field.getName()).getAnnotation(Column.class);
|
||||||
} catch (NoSuchFieldException e) {
|
} catch (NoSuchFieldException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user