diff --git a/src/helma/objectmodel/db/Relation.java b/src/helma/objectmodel/db/Relation.java index 1e4bfd33..cb542752 100644 --- a/src/helma/objectmodel/db/Relation.java +++ b/src/helma/objectmodel/db/Relation.java @@ -185,7 +185,7 @@ public final class Relation { } // make sure the type we're referring to is up to date! - if (otherType != null && otherType.needsUpdate()) { + if (otherType.needsUpdate()) { otherType.update(); }