db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1348308 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java
Date Sat, 09 Jun 2012 03:35:27 GMT
Author: tfischer
Date: Sat Jun  9 03:35:27 2012
New Revision: 1348308

URL: http://svn.apache.org/viewvc?rev=1348308&view=rev
Log:
TORQUE-7 cleanup: Remove dead local stores

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java?rev=1348308&r1=1348307&r2=1348308&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java
Sat Jun  9 03:35:27 2012
@@ -293,9 +293,6 @@ public final class SqlBuilder
                 Query query)
             throws TorqueException
     {
-        final String dbName = criteria.getDbName();
-        final Database database = Torque.getDatabase(dbName);
-        final DB db = Torque.getDB(dbName);
         if (criterion.isComposite())
         {
             where.append('(');



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