You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/06/09 05:35:27 UTC

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

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