[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-dev
Subject:    svn commit: r345880 - in /db/torque/templates/trunk/src/templates/om:
From:       tv () apache ! org
Date:       2005-11-21 9:20:51
Message-ID: 20051121092102.3390.qmail () minotaur ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic