No need to require a concrete map class.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2001 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-12-20 19:33:53 +00:00
parent 401a23a18f
commit 7b64416eeb
@@ -27,7 +27,6 @@ import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import com.samskivert.io.PersistenceException;
@@ -204,7 +203,7 @@ public class DepotRepository
* @return the number of rows modified by this action.
*/
protected <T> int updatePartial (Class<T> type, Comparable primaryKey,
HashMap<String,Object> updates)
Map<String,Object> updates)
throws PersistenceException
{
Object[] fieldsValues = new Object[updates.size()*2];