db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1351125 - in /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque: ./ adapter/ criteria/ manager/ map/ oid/ om/ om/mapper/ sql/ util/
Date Sun, 17 Jun 2012 16:51:04 GMT
Author: tv
Date: Sun Jun 17 16:51:03 2012
New Revision: 1351125

URL: http://svn.apache.org/viewvc?rev=1351125&view=rev
Log:
Fixed some simple warnings to make Eclipse happy

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/NoRowsException.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TooManyRowsException.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/AbstractDBAdapter.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBDerby.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBFactory.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBHsqldb.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMM.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMSSQL.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBNone.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBOracle.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBPostgres.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/PreparedStatementPart.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/manager/MethodCacheKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/oid/IDGeneratorFactory.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/ComboKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/NumberKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/Query.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueColumnList.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueList.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/NoRowsException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/NoRowsException.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/NoRowsException.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/NoRowsException.java
Sun Jun 17 16:51:03 2012
@@ -39,6 +39,7 @@ public class NoRowsException extends Tor
      */
     public NoRowsException()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TooManyRowsException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TooManyRowsException.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TooManyRowsException.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TooManyRowsException.java
Sun Jun 17 16:51:03 2012
@@ -38,6 +38,7 @@ public class TooManyRowsException extend
      */
     public TooManyRowsException()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/AbstractDBAdapter.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/AbstractDBAdapter.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/AbstractDBAdapter.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/AbstractDBAdapter.java
Sun Jun 17 16:51:03 2012
@@ -56,6 +56,7 @@ public abstract class AbstractDBAdapter 
      */
     protected AbstractDBAdapter()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBDerby.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBDerby.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBDerby.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBDerby.java
Sun Jun 17 16:51:03 2012
@@ -48,6 +48,7 @@ public class DBDerby extends AbstractDBA
      */
     protected DBDerby()
     {
+        // empty
     }
 
     /**
@@ -148,6 +149,7 @@ public class DBDerby extends AbstractDBA
     public void unlockTable(Connection con, String table)
             throws SQLException
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBFactory.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBFactory.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBFactory.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBFactory.java
Sun Jun 17 16:51:03 2012
@@ -95,6 +95,7 @@ public final class DBFactory
      */
     private DBFactory()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBHsqldb.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBHsqldb.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBHsqldb.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBHsqldb.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class DBHsqldb extends AbstractDB
      */
     protected DBHsqldb()
     {
+        // empty
     }
 
     /**
@@ -109,6 +110,7 @@ public class DBHsqldb extends AbstractDB
     @Override
     public void lockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 
     /**
@@ -121,6 +123,7 @@ public class DBHsqldb extends AbstractDB
     @Override
     public void unlockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMM.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMM.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMM.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMM.java
Sun Jun 17 16:51:03 2012
@@ -57,6 +57,7 @@ public class DBMM extends AbstractDBAdap
      */
     protected DBMM()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMSSQL.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMSSQL.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMSSQL.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBMSSQL.java
Sun Jun 17 16:51:03 2012
@@ -50,6 +50,7 @@ public class DBMSSQL extends AbstractDBA
      */
     protected DBMSSQL()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBNone.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBNone.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBNone.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBNone.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class DBNone extends AbstractDBAd
      */
     protected DBNone()
     {
+        // empty
     }
 
     /**
@@ -96,6 +97,7 @@ public class DBNone extends AbstractDBAd
     @Override
     public void lockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 
     /**
@@ -108,5 +110,6 @@ public class DBNone extends AbstractDBAd
     @Override
     public void unlockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 }

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBOracle.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBOracle.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBOracle.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBOracle.java
Sun Jun 17 16:51:03 2012
@@ -55,6 +55,7 @@ public class DBOracle extends AbstractDB
      */
     protected DBOracle()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBPostgres.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBPostgres.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBPostgres.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/adapter/DBPostgres.java
Sun Jun 17 16:51:03 2012
@@ -45,6 +45,7 @@ public class DBPostgres extends Abstract
      */
     protected DBPostgres()
     {
+        // empty
     }
 
     /**
@@ -104,6 +105,7 @@ public class DBPostgres extends Abstract
     @Override
     public void lockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 
     /**
@@ -116,6 +118,7 @@ public class DBPostgres extends Abstract
     @Override
     public void unlockTable(Connection con, String table) throws SQLException
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java
Sun Jun 17 16:51:03 2012
@@ -140,22 +140,22 @@ public class Criteria
     private boolean singleRecord = false;
 
     /** List of modifiers like DISTICT. */
-    private UniqueList<String> selectModifiers = new UniqueList<String>();
+    private final UniqueList<String> selectModifiers = new UniqueList<String>();
 
     /** List of all columns to select. */
-    private UniqueColumnList selectColumns = new UniqueColumnList();
+    private final UniqueColumnList selectColumns = new UniqueColumnList();
 
     /** All "order by" clauses, containing the order ASC or DESC. */
-    private UniqueList<OrderBy> orderByColumns = new UniqueList<OrderBy>();
+    private final UniqueList<OrderBy> orderByColumns = new UniqueList<OrderBy>();
 
     /** The names of columns to add to a groupBy clause */
-    private UniqueColumnList groupByColumns = new UniqueColumnList();
+    private final UniqueColumnList groupByColumns = new UniqueColumnList();
 
     /**
      * All "from" clauses. Empty if the from clause should be computed
      * automatically.
      */
-    private UniqueList<FromElement> fromElements
+    private final UniqueList<FromElement> fromElements
             = new UniqueList<FromElement>();
 
     /** The having clause in a query. */
@@ -168,11 +168,11 @@ public class Criteria
      * Maps column alias names to the real column names.
      * The key of the map is the alias and the value is the real column.
      */
-    private Map<String, Column> asColumns
+    private final Map<String, Column> asColumns
             = new LinkedHashMap<String, Column>();
 
     /** Contains all joins. */
-    private List<Join> joins = new ArrayList<Join>();
+    private final List<Join> joins = new ArrayList<Join>();
 
     /** The name of the database in which this criteria should execute. */
     private String dbName;
@@ -191,7 +191,7 @@ public class Criteria
      * and the value is either the real name of the table
      * or a corresponding subselect.
      */
-    private Map<String, Object> aliases = new HashMap<String, Object>();
+    private final Map<String, Object> aliases = new HashMap<String, Object>();
 
     /** The JDBC statement fetch size, if any. */
     private Integer fetchSize;
@@ -201,6 +201,7 @@ public class Criteria
      */
     public Criteria()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/PreparedStatementPart.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/PreparedStatementPart.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/PreparedStatementPart.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/PreparedStatementPart.java
Sun Jun 17 16:51:03 2012
@@ -53,6 +53,7 @@ public class PreparedStatementPart imple
      */
     public PreparedStatementPart()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/manager/MethodCacheKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/manager/MethodCacheKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/manager/MethodCacheKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/manager/MethodCacheKey.java
Sun Jun 17 16:51:03 2012
@@ -21,10 +21,8 @@ package org.apache.torque.manager;
 
 import java.io.Serializable;
 
-import org.apache.commons.lang.ObjectUtils;
 import org.apache.commons.lang.builder.EqualsBuilder;
 import org.apache.commons.lang.builder.HashCodeBuilder;
-import org.apache.torque.criteria.Criterion;
 
 /**
  * @version $Id$

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java
Sun Jun 17 16:51:03 2012
@@ -36,6 +36,7 @@ public final class MapHelper
     /** Private constructor. */
     private MapHelper()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/oid/IDGeneratorFactory.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/oid/IDGeneratorFactory.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/oid/IDGeneratorFactory.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/oid/IDGeneratorFactory.java
Sun Jun 17 16:51:03 2012
@@ -39,6 +39,7 @@ public final class IDGeneratorFactory
      */
     private IDGeneratorFactory()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class BooleanKey extends SimpleKe
      */
     public BooleanKey()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/ComboKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/ComboKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/ComboKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/ComboKey.java
Sun Jun 17 16:51:03 2012
@@ -59,6 +59,7 @@ public class ComboKey extends ObjectKey
      */
     public ComboKey()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class DateKey extends SimpleKey
      */
     public DateKey()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/NumberKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/NumberKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/NumberKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/NumberKey.java
Sun Jun 17 16:51:03 2012
@@ -45,6 +45,7 @@ public class NumberKey extends SimpleKey
      */
     public NumberKey()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class StringKey extends SimpleKey
      */
     public StringKey()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java
Sun Jun 17 16:51:03 2012
@@ -63,6 +63,7 @@ public class ObjectListMapper implements
      */
     public ObjectListMapper()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java
Sun Jun 17 16:51:03 2012
@@ -48,6 +48,7 @@ public final class JoinBuilder
      */
     private JoinBuilder()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/Query.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/Query.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/Query.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/Query.java
Sun Jun 17 16:51:03 2012
@@ -55,7 +55,7 @@ public class Query
         UPDATE,
         /** The instance contains the parts of a delete statement. */
         DELETE
-    };
+    }
 
     /** Constant for text "SELECT ". */
     private static final String SELECT = "SELECT ";
@@ -87,39 +87,39 @@ public class Query
     /**
      * The select modifiers. E.g. DISTINCT.
      */
-    private UniqueList<String> selectModifiers = new UniqueList<String>();
+    private final UniqueList<String> selectModifiers = new UniqueList<String>();
 
     /**
      * The select columns for a select statement, or the columns to update
      * for an update statement.
      */
 
-    private UniqueList<String> columns = new UniqueList<String>();
+    private final UniqueList<String> columns = new UniqueList<String>();
 
     /**
      * The tables to select from (including join operators) for
      * a select clause, or the tables to update or delete for update
      * or delete statements.
      */
-    private UniqueList<FromElement> fromClause = new UniqueList<FromElement>();
+    private final UniqueList<FromElement> fromClause = new UniqueList<FromElement>();
 
     /**
      * The where clause identifying the rows to select/update/delete.
      */
-    private UniqueList<String> whereClause = new UniqueList<String>();
+    private final UniqueList<String> whereClause = new UniqueList<String>();
 
     /**
      * Contains all replacement objects which are inserted into the prepared
      * statement ? placeholders for the where Clause.
      */
-    private List<Object> whereClausePreparedStatementReplacements
+    private final List<Object> whereClausePreparedStatementReplacements
             = new ArrayList<Object>();
 
     /** The order by columns, possibly including direction (ASC or DESC). */
-    private UniqueList<String> orderByColumns = new UniqueList<String>();
+    private final UniqueList<String> orderByColumns = new UniqueList<String>();
 
     /**  The group by columns. */
-    private UniqueList<String> groupByColumns = new UniqueList<String>();
+    private final UniqueList<String> groupByColumns = new UniqueList<String>();
 
     /** The having clause, or null for none. */
     private String having;

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=1351125&r1=1351124&r2=1351125&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
Sun Jun 17 16:51:03 2012
@@ -101,6 +101,7 @@ public final class SqlBuilder
      */
     private SqlBuilder()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java
Sun Jun 17 16:51:03 2012
@@ -46,6 +46,7 @@ public final class Transaction
      */
     private Transaction()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueColumnList.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueColumnList.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueColumnList.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueColumnList.java
Sun Jun 17 16:51:03 2012
@@ -42,6 +42,7 @@ public class UniqueColumnList extends Ar
      */
     public UniqueColumnList()
     {
+        // empty
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueList.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueList.java?rev=1351125&r1=1351124&r2=1351125&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueList.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/UniqueList.java
Sun Jun 17 16:51:03 2012
@@ -41,6 +41,7 @@ public class UniqueList<T> extends Array
      */
     public UniqueList()
     {
+        super();
     }
 
     /**
@@ -49,6 +50,7 @@ public class UniqueList<T> extends Array
      */
     public UniqueList(UniqueList<T> list)
     {
+        this();
         this.addAll(list);
     }
 



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