db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r331006 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java
Date Sat, 05 Nov 2005 15:54:19 GMT
Author: mvdb
Date: Sat Nov  5 07:54:17 2005
New Revision: 331006

URL: http://svn.apache.org/viewcvs?rev=331006&view=rev
Log:
Change HasMap parameters to Map parameters.

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java?rev=331006&r1=331005&r2=331006&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SqlBuilder.java Sat Nov  5 07:54:17
2005
@@ -22,7 +22,6 @@
 import java.text.DateFormat;
 import java.text.NumberFormat;
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Locale;
 import java.util.Map;
@@ -665,7 +664,7 @@
      *                        prepared statement
      * @return The insertion sql
      */
-    public String getInsertSql(Table table, HashMap columnValues, boolean genPlaceholders)
+    public String getInsertSql(Table table, Map columnValues, boolean genPlaceholders)
     {
         StringBuffer buffer   = new StringBuffer("INSERT INTO ");
         boolean      addComma = false;
@@ -735,7 +734,7 @@
      *                        prepared statement (both for the pk values and the object values)
      * @return The update sql
      */
-    public String getUpdateSql(Table table, HashMap columnValues, boolean genPlaceholders)
+    public String getUpdateSql(Table table, Map columnValues, boolean genPlaceholders)
     {
         StringBuffer buffer = new StringBuffer("UPDATE ");
         boolean      addSep = false;
@@ -805,7 +804,7 @@
      *                        prepared statement
      * @return The delete sql
      */
-    public String getDeleteSql(Table table, HashMap pkValues, boolean genPlaceholders)
+    public String getDeleteSql(Table table, Map pkValues, boolean genPlaceholders)
     {
         StringBuffer buffer = new StringBuffer("DELETE FROM ");
         boolean      addSep = false;



Mime
View raw message