From 41233a115d00530735da2b4cc60a79bc79def436 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 25 Jan 2006 16:42:02 +0000 Subject: [PATCH] * Remove unnecessary null check. --- src/helma/objectmodel/db/Relation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }