db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/templates/om Object.vm ObjectWithManager.vm
Date Tue, 24 Jun 2003 11:11:55 GMT
mpoeschl    2003/06/24 04:11:55

  Modified:    src/generator/src/templates/om Object.vm
                        ObjectWithManager.vm
  Log:
  use col.isPrimitive() instead of comparing within the template
  
  Revision  Changes    Path
  1.4       +1 -3      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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Object.vm	20 Jun 2003 07:42:43 -0000	1.3
  +++ Object.vm	24 Jun 2003 11:11:54 -0000	1.4
  @@ -159,9 +159,7 @@
   
   #if ($addSaveMethod)
   
  - #if ( ($cjtype == "int") || ($cjtype == "long") || ($cjtype == "boolean")
  -    || ($cjtype == "short") || ($cjtype == "float") || ($cjtype == "double")
  -    || ($cjtype == "char") || ($cjtype == "byte") )
  + #if ($col.isPrimitive())
           if (this.$clo != v)
           {
    #else
  
  
  
  1.2       +1 -3      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ObjectWithManager.vm	10 Feb 2003 13:18:45 -0000	1.1
  +++ ObjectWithManager.vm	24 Jun 2003 11:11:54 -0000	1.2
  @@ -157,9 +157,7 @@
   
   #if ($addSaveMethod)
   
  - #if ( ($cjtype == "int") || ($cjtype == "long") || ($cjtype == "boolean")
  -    || ($cjtype == "short") || ($cjtype == "float") || ($cjtype == "double")
  -    || ($cjtype == "char") || ($cjtype == "byte") )
  + #if ($col.isPrimitive())
           if (this.$clo != v)
           {
    #else
  
  
  

Mime
View raw message