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 tv...@apache.org on 2005/11/21 10:20:51 UTC

svn commit: r345880 - in /db/torque/templates/trunk/src/templates/om: Object.vm ObjectWithManager.vm

Author: tv
Date: Mon Nov 21 01:20:34 2005
New Revision: 345880

URL: http://svn.apache.org/viewcvs?rev=345880&view=rev
Log:
removed the superfluous tmpKey variable

Modified:
    db/torque/templates/trunk/src/templates/om/Object.vm
    db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm

Modified: db/torque/templates/trunk/src/templates/om/Object.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/Object.vm?rev=345880&r1=345879&r2=345880&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Object.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Object.vm Mon Nov 21 01:20:34 2005
@@ -1448,7 +1448,6 @@
     public void setPrimaryKey(ObjectKey key) throws TorqueException
     {
         SimpleKey[] keys = (SimpleKey[]) key.getValue();
-        SimpleKey tmpKey = null;
     #set ($i = 0)
     #foreach ($pk in $table.PrimaryKey)
       #set ($pktype = $pk.JavaNative)

Modified: db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm?rev=345880&r1=345879&r2=345880&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm (original)
+++ db/torque/templates/trunk/src/templates/om/ObjectWithManager.vm Mon Nov 21 01:20:34 2005
@@ -1466,7 +1466,6 @@
     public void setPrimaryKey(ObjectKey key) throws TorqueException
     {
         SimpleKey[] keys = (SimpleKey[]) key.getValue();
-        SimpleKey tmpKey = null;
     #set ($i = 0)
     #foreach ($pk in $table.PrimaryKey)
       #set ($pktype = $pk.JavaNative)



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org