You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/08/26 12:23:52 UTC
svn commit: r1377411 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
Author: tfischer
Date: Sun Aug 26 10:23:51 2012
New Revision: 1377411
URL: http://svn.apache.org/viewvc?rev=1377411&view=rev
Log:
remove redundant null check
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java?rev=1377411&r1=1377410&r2=1377411&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ForeignKeyMap.java Sun Aug 26 10:23:51 2012
@@ -299,12 +299,6 @@ public class ForeignKeyMap implements Se
if (foreign == null)
{
TableMap foreignTable = foreignKeyMap.getForeignTable();
- if (foreignTable == null)
- {
- throw new IllegalStateException(
- "Table " + foreignKeyMap.getForeignTableName()
- + " is not yet initialized");
- }
foreign = foreignTable.getColumn(foreignName);
if (foreign == null)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org