db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: db-torque/src/generator/src/templates/om Object.vm
Date Sat, 17 Apr 2004 21:08:10 GMT
dlr         2004/04/17 14:08:09

  Modified:    src/generator/src/templates/om Object.vm
  Log:
  * src/generator/src/templates/om/Object.vm
    Work around "the type AbstractStringBuilder is not visible" error
    reported by Luca Zappa to be triggered by sequential calls to the
    append() method of StringBuffer using JSDK 1.5.0.  Sounds like a
    problem with 1.5.0's compiler, but it costs us nothing to avoid code
    which triggers it.
  
  Revision  Changes    Path
  1.13      +3 -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.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- Object.vm	21 Jan 2004 23:05:57 -0000	1.12
  +++ Object.vm	17 Apr 2004 21:08:09 -0000	1.13
  @@ -1529,9 +1529,9 @@
           StringBuffer str = new StringBuffer();
           str.append("$table.JavaName:\n");
   #foreach ($col in $table.Columns)
  -        str.append("$col.JavaName = ")
  -           .append(get${col.JavaName}())
  -           .append("\n");
  +        str.append("$col.JavaName = ");
  +        str.append(get${col.JavaName}());
  +        str.append('\n');
   #end
           return(str.toString());
       }
  
  
  

---------------------------------------------------------------------
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