db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: db-torque/xdocs changes.xml
Date Wed, 20 Oct 2004 01:28:18 GMT
seade       2004/10/19 18:28:18

  Modified:    src/generator/src/templates/om Object.vm Peer.vm
                        BaseManager.vm ObjectWithManager.vm
               xdocs    changes.xml
  Log:
  TRQS236 Generated code contains Javadoc error "@param tags incorrect".
  
  Revision  Changes    Path
  1.17      +1 -1      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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Object.vm	19 Oct 2004 23:24:37 -0000	1.16
  +++ Object.vm	20 Oct 2004 01:28:18 -0000	1.17
  @@ -1359,7 +1359,7 @@
       #foreach ($col in $table.PrimaryKey)
         #set ( $clo=$col.UncapitalisedJavaName )
         #set ( $cjtype= $col.JavaNative )
  -     * @param $cjtype $clo
  +     * @param $clo $cjtype
       #end
        */
       public void setPrimaryKey($argList)
  
  
  
  1.12      +2 -1      db-torque/src/generator/src/templates/om/Peer.vm
  
  Index: Peer.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/om/Peer.vm,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Peer.vm	7 Sep 2004 12:24:33 -0000	1.11
  +++ Peer.vm	20 Oct 2004 01:28:18 -0000	1.12
  @@ -421,6 +421,7 @@
        * Grabs the raw Village records to be formed into objects.
        * This method should be used for transactions
        *
  +     * @param criteria object used to create the SELECT statement.
        * @param con the connection to use
        * @throws TorqueException Any exceptions caught during processing will be
        *         rethrown wrapped into a TorqueException.
  @@ -1105,7 +1106,7 @@
       #set ( $cjtype= $col.JavaNative )
        * @param $clo $cjtype
     #end
  -     * @param Connection con
  +     * @param con Connection
        */
       public static $table.JavaName ${retrieveMethod}(
     #foreach ($col in $table.PrimaryKey)
  
  
  
  1.4       +8 -2      db-torque/src/generator/src/templates/om/BaseManager.vm
  
  Index: BaseManager.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/om/BaseManager.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BaseManager.vm	7 Aug 2003 13:13:00 -0000	1.3
  +++ BaseManager.vm	20 Oct 2004 01:28:18 -0000	1.4
  @@ -86,6 +86,8 @@
        * Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).
        *
        * @param id an <code>ObjectKey</code> value
  +     * @param fromCache if true, look for cached ${interfaceName}s before loading
  +     * from storage.
        * @return a <code>${interfaceName}</code> value
        * @exception TorqueException if an error occurs
        */
  @@ -115,6 +117,8 @@
        * Static accessor for the @see #getInstanceImpl(ObjectKey).
        *
        * @param id an <code>ObjectKey</code> value
  +     * @param fromCache if true, look for cached ${interfaceName}s before loading
  +     * from storage.
        * @return a <code>${interfaceName}</code> value
        * @exception TorqueException if an error occurs
        */
  @@ -142,6 +146,8 @@
        * Static accessor for the @see #getInstancesImpl(List, boolean).
        *
        * @param ids a <code>List</code> value
  +     * @param fromCache if true, look for cached ${interfaceName}s before loading
  +     * from storage.
        * @return a <code>List</code> value
        * @exception TorqueException if an error occurs
        */
  @@ -287,7 +293,7 @@
       /**
        * Gets a list of ModuleEntities based on id's.
        *
  -     * @param moduleIds a <code>NumberKey[]</code> value
  +     * @param ids a <code>NumberKey[]</code> value
        * @return a <code>List</code> value
        * @exception TorqueException if an error occurs
        */
  
  
  
  1.12      +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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ObjectWithManager.vm	19 Oct 2004 23:24:37 -0000	1.11
  +++ ObjectWithManager.vm	20 Oct 2004 01:28:18 -0000	1.12
  @@ -263,7 +263,7 @@
       /**
        * Declares an association between this object and a $interfaceName object
        *
  -     * @param $interfaceName v
  +     * @param v $interfaceName
        * @throws TorqueException
        */
       public void set${pVarName}($interfaceName v) throws TorqueException
  @@ -1335,7 +1335,7 @@
       #foreach ($col in $table.PrimaryKey)
         #set ( $clo=$col.UncapitalisedJavaName )
         #set ( $cjtype= $col.JavaNative )
  -     * @param $cjtype $clo
  +     * @param $clo $cjtype
       #end
        */
       public void setPrimaryKey($argList)
  
  
  
  1.142     +3 -0      db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- changes.xml	19 Oct 2004 23:24:37 -0000	1.141
  +++ changes.xml	20 Oct 2004 01:28:18 -0000	1.142
  @@ -13,6 +13,9 @@
           TRQS235 Generated code contains Javadoc error "sentence is 
           different...".
         </action>
  +      <action type="update" dev="seade">
  +        TRQS236 Generated code contains Javadoc error "@param tags incorrect".
  +      </action>
         <action dev='seade' type='fix'>
           TRQS154: TIME should be enclosed in single quotes for SQL Loader.
           Thanks to Matt Finn for the patch.
  
  
  

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