db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r345880 - in /db/torque/templates/trunk/src/templates/om: Object.vm ObjectWithManager.vm
Date Mon, 21 Nov 2005 09:20:51 GMT
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


Mime
View raw message