cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r651413 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java
Date Thu, 24 Apr 2008 20:48:33 GMT
Author: aadamchik
Date: Thu Apr 24 13:48:26 2008
New Revision: 651413

URL: http://svn.apache.org/viewvc?rev=651413&view=rev
Log:
switching to vararg setParameters call , and removing now invariant version that takes a single
argument

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java?rev=651413&r1=651412&r2=651413&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/SQLTemplateTest.java
Thu Apr 24 13:48:26 2008
@@ -141,7 +141,7 @@
         assertEquals(params, it.next());
         assertFalse(it.hasNext());
 
-        query.setParameters((Map) null);
+        query.setParameters(null);
         assertNotNull(query.getParameters());
         assertTrue(query.getParameters().isEmpty());
         it = query.parametersIterator();



Mime
View raw message