db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1003638 - /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java
Date Fri, 01 Oct 2010 20:34:16 GMT
Author: tfischer
Date: Fri Oct  1 20:34:15 2010
New Revision: 1003638

URL: http://svn.apache.org/viewvc?rev=1003638&view=rev
Log:
TORQUE-148: remove throws clause in setter for referenced object by a foreign key

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java

Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java?rev=1003638&r1=1003637&r2=1003638&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/transformer/om/OMForeignKeyTransformer.java
Fri Oct  1 20:34:15 2010
@@ -580,9 +580,6 @@ public class OMForeignKeyTransformer
             localFieldElement.setAttribute(
                     JavaFieldAttributeName.SETTER_NAME,
                     setterName);
-            localFieldElement.setAttribute(
-                    JavaFieldAttributeName.SETTER_THROWS,
-                    "TorqueException");
         }
         foreignKey.getChildren().add(localFieldElement);
     }



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