Missed a spot.

This commit is contained in:
Michael Bayne
2008-09-15 18:46:48 +00:00
parent 759fb587dc
commit 2b1b2e8334
@@ -507,7 +507,7 @@ public abstract class BuildVisitor implements ExpressionVisitor
FieldDefinition fieldDef = fieldDefs.get(field);
if (fieldDef != null) {
boolean useOverride;
if (override instanceof FieldOverride) {
if (fieldDef instanceof FieldOverride) {
if (fm.getComputed() != null && dm.getComputed() != null) {
throw new IllegalArgumentException(
"FieldOverride cannot be used on @Computed field: " + field);