svn commit: r1774624 - in /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general: getter.vm setter.vm

classic Classic list List threaded Threaded
1 message Options
tv
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: r1774624 - in /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general: getter.vm setter.vm

tv
Author: tv
Date: Fri Dec 16 15:42:07 2016
New Revision: 1774624

URL: http://svn.apache.org/viewvc?rev=1774624&view=rev
Log:
Start to fix JavaDoc of generated files

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/getter.vm
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/setter.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/getter.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/getter.vm?rev=1774624&r1=1774623&r2=1774624&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/getter.vm (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/getter.vm Fri Dec 16 15:42:07 2016
@@ -35,7 +35,10 @@
      * $description
 #end
      *
-     * @return $fieldType
+     * @return the value of ${field} as $fieldType
+#if ($getterThrows != "")
+     * @${getterThrows.substring(1)} on failure
+#end
      */
     $getterAccessModifier $fieldType ${getter}()$getterThrows
     {

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/setter.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/setter.vm?rev=1774624&r1=1774623&r2=1774624&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/setter.vm (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/setter.vm Fri Dec 16 15:42:07 2016
@@ -35,9 +35,9 @@
      * $description
 #end
      *
-     * @param v new value
+     * @param v new value of ${field}
 #if ($setterThrows != "")
-     * @${setterThrows.substring(1)}
+     * @${setterThrows.substring(1)} on failure
 #end
      */
     $setterAccessModifer void ${setter}($fieldType v)$setterThrows



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...