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/11/04 22:57:18 UTC
svn commit: r1405645 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java
Author: tfischer
Date: Sun Nov 4 21:57:18 2012
New Revision: 1405645
URL: http://svn.apache.org/viewvc?rev=1405645&view=rev
Log:
fix typo in exception message
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java?rev=1405645&r1=1405644&r2=1405645&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/TableMap.java Sun Nov 4 21:57:18 2012
@@ -691,12 +691,12 @@ public class TableMap implements Seriali
if (result.isEmpty())
{
throw new TorqueException("getPrimaryKey(): Table " + tableName
- + "has no primary key.");
+ + " has no primary key.");
}
if (result.size() > 1)
{
throw new TorqueException("getPrimaryKey(): Table " + tableName
- + "has more than one primary key.");
+ + " has more than one primary key.");
}
return result.iterator().next();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org