From 2471487d2f61819fc33ce70ea7267706b673d2d4 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 18 Aug 2010 22:43:33 +0000 Subject: [PATCH] Oops, that will never be null. --- src/java/com/samskivert/depot/impl/FieldMarshaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/samskivert/depot/impl/FieldMarshaller.java b/src/java/com/samskivert/depot/impl/FieldMarshaller.java index ce0be21..a7533c7 100644 --- a/src/java/com/samskivert/depot/impl/FieldMarshaller.java +++ b/src/java/com/samskivert/depot/impl/FieldMarshaller.java @@ -226,7 +226,7 @@ public abstract class FieldMarshaller field.getDeclaringClass().getAnnotation(Computed.class) : _computed; if (dcomputed != null) { Class sclass = dcomputed.shadowOf(); - if (sclass != null) { + if (!PersistentRecord.class.equals(sclass)) { try { column = sclass.getField(field.getName()).getAnnotation(Column.class); } catch (NoSuchFieldException e) {