db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r417518 - in /db/torque/runtime/trunk/src/java/org/apache/torque: map/DatabaseMap.java oid/IDBroker.java
Date Tue, 27 Jun 2006 17:07:28 GMT
Author: henning
Date: Tue Jun 27 10:07:28 2006
New Revision: 417518

URL: http://svn.apache.org/viewvc?rev=417518&view=rev
Log:
Add some explicit casts, remove an unneeded import 

Modified:
    db/torque/runtime/trunk/src/java/org/apache/torque/map/DatabaseMap.java
    db/torque/runtime/trunk/src/java/org/apache/torque/oid/IDBroker.java

Modified: db/torque/runtime/trunk/src/java/org/apache/torque/map/DatabaseMap.java
URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/map/DatabaseMap.java?rev=417518&r1=417517&r2=417518&view=diff
==============================================================================
--- db/torque/runtime/trunk/src/java/org/apache/torque/map/DatabaseMap.java (original)
+++ db/torque/runtime/trunk/src/java/org/apache/torque/map/DatabaseMap.java Tue Jun 27 10:07:28
2006
@@ -413,8 +413,8 @@
         }
         try
         {
-            Method initMethod = initClass.getMethod("init", null);
-            initMethod.invoke(null, null);
+            Method initMethod = initClass.getMethod("init", (Class []) null);
+            initMethod.invoke(null, (Object []) null);
         }
         catch (Exception e)
         {

Modified: db/torque/runtime/trunk/src/java/org/apache/torque/oid/IDBroker.java
URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/oid/IDBroker.java?rev=417518&r1=417517&r2=417518&view=diff
==============================================================================
--- db/torque/runtime/trunk/src/java/org/apache/torque/oid/IDBroker.java (original)
+++ db/torque/runtime/trunk/src/java/org/apache/torque/oid/IDBroker.java Tue Jun 27 10:07:28
2006
@@ -31,7 +31,6 @@
 import org.apache.torque.Database;
 import org.apache.torque.Torque;
 import org.apache.torque.TorqueException;
-import org.apache.torque.map.DatabaseMap;
 import org.apache.torque.map.TableMap;
 import org.apache.torque.util.Transaction;
 



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