db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pain...@apache.org
Subject svn commit: r1843447 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm
Date Wed, 10 Oct 2018 13:25:53 GMT
Author: painter
Date: Wed Oct 10 13:25:53 2018
New Revision: 1843447

URL: http://svn.apache.org/viewvc?rev=1843447&view=rev
Log:
Add suppress warning on template generation to help clear up eclipse warnings. Any ideas to
make this better?

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm?rev=1843447&r1=1843446&r2=1843447&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/getByNameMethods.vm
Wed Oct 10 13:25:53 2018
@@ -182,6 +182,7 @@
      * @param name peer name
      * @return value
      */
+    @SuppressWarnings("unlikely-arg-type")
     public Object getByPeerName(String name)
     {
 #foreach ($columnElement in $columnElements)



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