r7316 - dumbhippo/trunk/server/tests/com/dumbhippo/dm/dm



Author: otaylor
Date: 2008-02-13 12:00:50 -0600 (Wed, 13 Feb 2008)
New Revision: 7316

Modified:
   dumbhippo/trunk/server/tests/com/dumbhippo/dm/dm/TestUserDMO.java
Log:
TestUser.minTimestamp is a long, not a Date

Modified: dumbhippo/trunk/server/tests/com/dumbhippo/dm/dm/TestUserDMO.java
===================================================================
--- dumbhippo/trunk/server/tests/com/dumbhippo/dm/dm/TestUserDMO.java	2008-02-12 19:58:55 UTC (rev 7315)
+++ dumbhippo/trunk/server/tests/com/dumbhippo/dm/dm/TestUserDMO.java	2008-02-13 18:00:50 UTC (rev 7316)
@@ -1,7 +1,6 @@
 package com.dumbhippo.dm.dm;
 
 import java.util.ArrayList;
-import java.util.Date;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
@@ -114,7 +113,7 @@
 					);
 
 			q.setParameter("user", user);
-			q.setParameter("minTimestamp", new Date(minTimestamp));
+			q.setParameter("minTimestamp", minTimestamp);
 			
 			q.setFirstResult(start);
 			q.setMaxResults(max);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]