henning 2004/10/20 14:13:43
Modified: src/generator/src/templates/om Tag: TORQUE_3_1_BRANCH
Object.vm ObjectWithManager.vm
xdocs Tag: TORQUE_3_1_BRANCH changes.xml
Log:
Remove a few unused variables from Object.vm and ObjectWithManager.vm
Reported by Graham Leggett.
Revision Changes Path
No revision
No revision
1.7.2.7 +2 -2 db-torque/src/generator/src/templates/om/Object.vm
Index: Object.vm
===================================================================
RCS file: /home/cvs/db-torque/src/generator/src/templates/om/Object.vm,v
retrieving revision 1.7.2.6
retrieving revision 1.7.2.7
diff -u -r1.7.2.6 -r1.7.2.7
--- Object.vm 20 Oct 2004 01:26:18 -0000 1.7.2.6
+++ Object.vm 20 Oct 2004 21:13:42 -0000 1.7.2.7
@@ -775,7 +775,7 @@
// called for. If the criteria is the same as the last
// one, just return the collection.
#end
- boolean newCriteria = true;
+
#foreach ($columnName in $fk.ForeignColumns)
#set ( $column = $table.getColumn($columnName) )
#set ( $colFKName = $fk.ForeignLocalMapping.get($columnName) )
@@ -842,7 +842,7 @@
// called for. If the criteria is the same as the last
// one, just return the collection.
#end
- boolean newCriteria = true;
+
#foreach ($columnName in $fk.ForeignColumns)
#set ( $column = $table.getColumn($columnName) )
#set ( $colFKName = $fk.ForeignLocalMapping.get($columnName) )
1.5.2.5 +2 -2 db-torque/src/generator/src/templates/om/ObjectWithManager.vm
Index: ObjectWithManager.vm
===================================================================
RCS file: /home/cvs/db-torque/src/generator/src/templates/om/ObjectWithManager.vm,v
retrieving revision 1.5.2.4
retrieving revision 1.5.2.5
diff -u -r1.5.2.4 -r1.5.2.5
--- ObjectWithManager.vm 20 Oct 2004 01:26:18 -0000 1.5.2.4
+++ ObjectWithManager.vm 20 Oct 2004 21:13:42 -0000 1.5.2.5
@@ -741,7 +741,7 @@
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
- boolean newCriteria = true;
+
#foreach ($columnName in $fk.ForeignColumns)
#set ( $column = $table.getColumn($columnName) )
#set ( $colFKName = $fk.ForeignLocalMapping.get($columnName) )
@@ -802,7 +802,7 @@
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
- boolean newCriteria = true;
+
#foreach ($columnName in $fk.ForeignColumns)
#set ( $column = $table.getColumn($columnName) )
#set ( $colFKName = $fk.ForeignLocalMapping.get($columnName) )
No revision
No revision
1.140.2.9 +3 -0 db-torque/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
retrieving revision 1.140.2.8
retrieving revision 1.140.2.9
diff -u -r1.140.2.8 -r1.140.2.9
--- changes.xml 20 Oct 2004 20:54:03 -0000 1.140.2.8
+++ changes.xml 20 Oct 2004 21:13:43 -0000 1.140.2.9
@@ -36,6 +36,9 @@
<action type="update" dev="seade" issue="TRQS236">
Generated code contains Javadoc error "@param tags incorrect".
</action>
+ <action type="update" dev="henning" issue="TRQS237">
+ Remove a few unused variables from the generated Object templates.
+ </action>
</release>
<release version="3.1.1-RC3" date="2004-10-16">
<action type="update" dev="henning">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]